ln.json/JSONSerializer.cs

29 lines
387 B
C#
Raw Normal View History

2017-11-03 13:13:09 +01:00
using System;
namespace sharp.json
{
public static class JSONSerializer
{
public static void Apply(JSON json,Object o){
Type t = o.GetType();
if (t.IsPrimitive){
ApplyPrimitive(json,o);
} else {
ApplyClass(json, o);
}
}
public static void ApplyPrimitive(JSON json,Object o){
}
public static void ApplyClass(JSON json,Object o){
}
}
}