VideoOS.Platform.JsonHandling Namespace Reference

Classes

class  BooleanElement
 Contains one json element of boolean type. More...
 
class  DoubleElement
 Contains one json element with a double value. More...
 
class  ElementList
 ElementList is a class used to contain the json elements sent in Post, Put and Patch messages. These values will later be used to update the values of items stored in the database. More...
 
interface  IElement
 Interface used to describe one json element. Specific classes for each json formatted type implements this interface. More...
 
class  IntElement
 Contains one json element of integer type. More...
 
class  JsonBuilder
 A class for basic Json handling. This class handles construction of json objects in string format. More...
 
class  JsonErrorMessages
 
class  JsonObject
 Handling JSON formated fields. This class constructior will use the JsonReader to pass the json string and construct IElement objects of all sub fields. More...
 
class  JsonReader
 Converts JSON string into an ElementList. More...
 
class  JsonUtilities
 Class for assisting in handling Json strings. More...
 
class  NullElement
 Element that only contains a null value - could be related to both an Int or a String. More...
 
class  StringElement
 Contains one json element of string type, the string is enclused in double quotes, and need to be json escaped for special characters. More...
 
class  Token
 Contains a single json token with field name, the value in either Text or BoolValue. More...
 
class  TokenException
 Exception throws when the json parser finds an invalid token. More...
 

Enumerations

enum  TokenType {
  ElementStart , ElementEnd , ArrayStart , ArrayEnd ,
  Colon , Comma , String , Int ,
  Boolean , Double , Null , Ulong
}
 Identifies a single token in a json string. More...
 

Enumeration Type Documentation

◆ TokenType

Identifies a single token in a json string.

Enumerator
ElementStart 

Token is: {.

ElementEnd 

Token is: }.

ArrayStart 

Token is: [.

ArrayEnd 

Token is: ].

Colon 

Token is: :

Comma 

Token is: ,.

String 

Token is: a complete string (without the quotes)

Int 

The token is an integer (or could be a double with no decimals)

Boolean 

The token is a boolean.

Double 

The token is a double value.

Null 

The token value is a 'null'.

Ulong 

The token is a big unsigned integer.