damsel/proto/msgpack.thrift
Andrew Mayorov dac2cb5994
TD-312: Ensure damsel is well-behaved rebar3 dependency (#43)
Also switch to valitydev/rebar3-thrift-compiler 0.4 / valitydev/thrift 0.14.2.3
2022-06-16 19:36:21 +03:00

21 lines
462 B
Thrift

namespace erlang dmsl.msgpack
namespace java dev.vality.damsel.msgpack
/**
* Значение в msgpack, согласно [спецификации](https://github.com/msgpack/msgpack/blob/master/spec.md).
*/
union Value {
1: Nil nl
2: bool b
3: i64 i
4: double flt // Кроме ±Inf и NaN
5: string str
6: binary bin
7: Object obj
8: Array arr
}
struct Nil {}
typedef list<Value> Array
typedef map<Value, Value> Object