Add a Seq of (String, JsValue) to the buffer, pending an ultimate call of toJson.
Add a (String, JsValue) to the buffer, pending an ultimate call of toJson.
Add a (String, JsValue) to the buffer, pending an ultimate call of toJson.
Add a Seq of (String, JsValue) to the buffer, pending an ultimate call of toJson.
This method locates the correct JsonFormat for F through implicit scope and attempts to use it to parse each contained JsValue.
This method locates the correct JsonFormat for F through implicit scope and attempts to use it to parse each contained JsValue.
type of Feature to return
Vector or Feature objects that were successfully parsed
Accumulates GeoJson from Feature class instances and implements a Map keyed on geojson feature IDs.
During serialization: Each individual feature is parametrized on a class we need to accumulate geoJson per instance of an object in order to use implicit scope resolution in finding the correct format.
Features may be added using the .add, addAll methods, they are buffered as JsValues until .toJson is called
During deserialization: This object is instantiated with list of JsValues representing features. It may be queried using .getAll[F <: Feature[_] ] method.
It aggregates feature objects with data member still encoded in json