UniVRM/UniJSON/Scripts/IFormatter.cs
ousttrue df85433628 Merge commit 'df5f79584312cf4f6cc7ec1d73a78f6ba475c9ad' as 'UniJSON'
Co-authored-by: Deatrathias <dmailsec@gmail.com>
Co-authored-by: dj-kusuha <dj.kusuha+github@gmail.com>
Co-authored-by: ousttrue <ousttrue@gmail.com>
Co-authored-by: yutopp <yutopp@gmail.com>
2018-12-28 20:38:39 +09:00

43 lines
757 B
C#

using System;
namespace UniJSON
{
public interface IFormatter
{
IStore GetStore();
void BeginList(int n);
void EndList();
void BeginMap(int n);
void EndMap();
void Key(Utf8String x);
void Null();
void Value(Utf8String x);
void Value(String x);
void Value(ArraySegment<Byte> bytes);
void Value(Boolean x);
void Value(Byte x);
void Value(UInt16 x);
void Value(UInt32 x);
void Value(UInt64 x);
void Value(SByte x);
void Value(Int16 x);
void Value(Int32 x);
void Value(Int64 x);
void Value(Single x);
void Value(Double x);
void Value(DateTimeOffset x);
}
}