IFormatter.cs
779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
namespace UniJSON
{
public interface IFormatter
{
IStore GetStore();
void Clear();
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);
}
}