@Test public void testNestedArrays() { final Map<String,Object> data = new HashMap<>(1); final List<Object> childArray = new ArrayList<>(1); childArray.add("child"); final List<Object> parentArray = new ArrayList<>(1); parentArray.add(childArray); data.put("parentArray", parentArray); MapToEntityConverter converter = new MapToEntityConverter(); Entity entity = converter.fromMap(data, true); assertTrue(entity.getField("parentArray").getTypeName() == FieldTypeName.LIST); }
public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); } }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }  }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }  Entity fromMap( Map<String, Object> map,  boolean topLevel ); Entity fromMap(final Entity entity,final  Map<String, Object> map,final
        SchemaManager schemaManager, final String entityType, boolean topLevel); }
MapToEntityConverter { public Entity fromMap( Map<String, Object> map, boolean topLevel ) { Entity entity = new Entity(); return fromMap( entity, map, null, null, topLevel ); }  Entity fromMap( Map<String, Object> map,  boolean topLevel ); Entity fromMap(final Entity entity,final  Map<String, Object> map,final
        SchemaManager schemaManager, final String entityType, boolean topLevel); static final Logger logger; }