protected void writeStructured(int i,JsonGenerator jgen) throws IOException {
  jgen.writeObjectFieldStart("structured");
  for (  Entry<String,int[]> entry : properties.entrySet()) {
    jgen.writeNumberField(entry.getKey(),entry.getValue()[i]);
  }
  jgen.writeEndObject();
}

protected void writeStructured ( int i , JsonGenerator jgen ) throws IOException { jgen . writeObjectFieldStart ( "structured" ) ; for ( Entry < String , int [ ] > entry : properties . entrySet ( ) ) { jgen . writeNumberField ( entry . getKey ( ) , entry . getValue ( ) [ i ] ) ; } jgen . writeEndObject ( ) ; }
this will be called once per point in an origin / destination pointset , and once per origin in a one - or many - to - many indicator .
