public JsonWriter(ODataUri oDataUri,EntityDataModel entityDataModel){
  this.odataUri=checkNotNull(oDataUri);
  this.entityDataModel=checkNotNull(entityDataModel);
  expandedProperties.addAll(asJavaList(getSimpleExpandPropertyNames(oDataUri)));
}

public JsonWriter ( ODataUri oDataUri , EntityDataModel entityDataModel ) { this . odataUri = checkNotNull ( oDataUri ) ; this . entityDataModel = checkNotNull ( entityDataModel ) ; expandedProperties . addAll ( asJavaList ( getSimpleExpandPropertyNames ( oDataUri ) ) ) ; }
create an odata json writer .
