MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / toMap

Method toMap

CodenameOne/src/com/codename1/mapping/Mapper.java:45–45  ·  view source on GitHub ↗
(T instance)

Source from the content-addressed store, hash-verified

43 /// have their own registered `Mapper` are emitted as nested maps; scalars
44 /// (`String`, boxed primitives, `null`) go in as-is.
45 Map<String, Object> toMap(T instance);
46
47 /// Inverse of `#toMap`. Receives a `Map<String, Object>` as produced by
48 /// `JSONParser` and populates a fresh `T`.

Callers 4

toJsonMethod · 0.65
invoke0Method · 0.65
invoke14Method · 0.65

Implementers 3

AlbumMappermaven/core-unittests/src/test/java/com
AssetMappermaven/core-unittests/src/test/java/com
GraphQLResponseTestmaven/core-unittests/src/test/java/com

Calls

no outgoing calls

Tested by 1