mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 09:45:21 +00:00
827f692653
* Switch CODEOWNERS * Drop few dead links * Update gitignore rules to ignore generated files
20 lines
483 B
Thrift
20 lines
483 B
Thrift
namespace erlang json
|
|
namespace java dev.vality.damsel.json
|
|
|
|
/**
|
|
* Значение в JSON, согласно [RFC7159](https://tools.ietf.org/html/rfc7159).
|
|
*/
|
|
union Value {
|
|
1: Null nl
|
|
2: bool b
|
|
3: i32 i // от -(2^31) до (2^31 - 1)
|
|
4: double flt
|
|
5: string str // UTF-8
|
|
6: Object obj // Ключи свойств закодированы в UTF-8
|
|
7: Array arr
|
|
}
|
|
|
|
struct Null {}
|
|
typedef list<Value> Array
|
|
typedef map<string, Value> Object
|