damsel/proto/json.thrift
Andrew Mayorov 827f692653
Update declarations to refer to vality.dev namespace (#4)
* Switch CODEOWNERS
* Drop few dead links
* Update gitignore rules to ignore generated files
2022-01-06 13:30:52 +03:00

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