holopy3/Assets/UniGLTF/UniJSON/Scripts/IFormatter.cs

43 lines
827 B
C#
Raw Permalink Normal View History

2021-01-28 12:07:52 +00:00
using System;
using System.Linq.Expressions;
namespace UniJSON
{
public interface IFormatter
{
IStore GetStore();
IFormatter BeginList(int n);
IFormatter EndList();
IFormatter BeginMap(int n);
IFormatter EndMap();
IFormatter Key(string x);
IFormatter Null();
IFormatter Value(String x);
IFormatter Value(ArraySegment<Byte> bytes);
IFormatter Value(Boolean x);
IFormatter Value(Byte x);
IFormatter Value(UInt16 x);
IFormatter Value(UInt32 x);
IFormatter Value(UInt64 x);
IFormatter Value(SByte x);
IFormatter Value(Int16 x);
IFormatter Value(Int32 x);
IFormatter Value(Int64 x);
IFormatter Value(Single x);
IFormatter Value(Double x);
}
}