Click or drag to resize

Telogis.GeoBase.Serialization Namespace

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The Telogis.GeoBase.Serialization namespace provides classes to support array and object serialization to, and deserialization from, a string.

Classes
  ClassDescription
Public classJSONArray
An object that represents an array of CLR objects in a format that can be easily serialized to a string and deserialized from a string. Each value in the array must be one of the following:
  • null
  • a JSONObject
  • another JSONArray
  • a string
  • a primitive type
Public classCode exampleJSONFormatter
The JSONFormatter allows classes that implement IJSONSerializable to be converted into strings. The JSONFormatter also allows the strings to be converted back into object form.
Public classJSONObject
An object that represents a CLR object in a format that can be easily serialized to a string and deserialized from a string. Each field or property in the CLR object is represented by a key-value pair. The key is the name of the field or property. Each value must be one of the following:
  • null
  • another JSONObject
  • a JSONArray
  • a string
  • a primitive type
Public classLatLonStringConverter
TypeConverter for LatLon.
Interfaces
  InterfaceDescription
Public interfaceIJSONSerializable
Classes that implement IJSONSerializable can be used by JSONFormatter to serialize and deserialize the object to and from a string.