A* Pathfinding Project  4.1.14
The A* Pathfinding Project for Unity 3D
TinyJsonSerializer Class Reference

A very tiny json serializer. More...

Detailed Description

A very tiny json serializer.

It is not supposed to have lots of features, it is only intended to be able to serialize graph settings well enough.

Static Public Member Functions

static void Serialize (System.Object obj, System.Text.StringBuilder output)
 

Private Member Functions

 TinyJsonSerializer ()
 
void QuotedField (string name, string contents)
 
void Serialize (System.Object obj)
 
void SerializeUnityObject (UnityEngine.Object obj)
 

Private Attributes

System.Text.StringBuilder output = new System.Text.StringBuilder()
 
Dictionary< Type, Action< System.Object > > serializers = new Dictionary<Type, Action<object> >()
 

Static Private Attributes

static readonly System.Globalization.CultureInfo invariantCulture = System.Globalization.CultureInfo.InvariantCulture
 

Constructor & Destructor Documentation

◆ TinyJsonSerializer()

TinyJsonSerializer ( )
private

Member Function Documentation

◆ QuotedField()

void QuotedField ( string  name,
string  contents 
)
private

◆ Serialize() [1/2]

static void Serialize ( System.Object  obj,
System.Text.StringBuilder  output 
)
static

◆ Serialize() [2/2]

void Serialize ( System.Object  obj)
private

◆ SerializeUnityObject()

void SerializeUnityObject ( UnityEngine.Object  obj)
private

Member Data Documentation

◆ invariantCulture

readonly System.Globalization.CultureInfo invariantCulture = System.Globalization.CultureInfo.InvariantCulture
staticprivate

◆ output

System.Text.StringBuilder output = new System.Text.StringBuilder()
private

◆ serializers

Dictionary<Type, Action<System.Object> > serializers = new Dictionary<Type, Action<object> >()
private

The documentation for this class was generated from the following file: