Add a Seq of JsValue to the buffer, pending an ultimate call of toJson.
Add a JsValue to the buffer, pending an ultimate call of toJson.
Add a JsValue to the buffer, pending an ultimate call of toJson.
Add a Seq of 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 of Feature objects (type F) that were successfully parsed
Carry out serialization on all buffered JsValue objects.
Accumulates GeoJson from Feature class instances.
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