A* Pathfinding Project  4.1.5
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
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 ( )
private

Member Function Documentation

void QuotedField ( string  name,
string  contents 
)
private
static void Serialize ( System.Object  obj,
System.Text.StringBuilder  output 
)
static
void Serialize ( System.Object  obj)
private
void SerializeUnityObject ( UnityEngine.Object  obj)
private

Member Data Documentation

readonly System.Globalization.CultureInfo invariantCulture = System.Globalization.CultureInfo.InvariantCulture
staticprivate
System.Text.StringBuilder output = new System.Text.StringBuilder()
private
Dictionary<Type, Action<System.Object> > serializers = new Dictionary<Type, Action<object> >()
private

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