damsel/proto/msgpack.thrift
Andrew Mayorov 5e569fcaaa HG-116: Fix a couple of consistency and clarity issues (#97)
* HG-116: Fix a couple of consistency and clarity issues

* HG-116: Introduce JSON-like type

* HG-116: Fix JSON types and introduce msgpack types

* HG-116: Remove the notion of schema revision

* HG-116: Introduce invoice info, better term needed

* HG-116: Rename `SmthPredicate` -> `SmthDecision`

* HG-116: Add missing namespace declarations

* HG-116: Try to get rid of keyword conflicts

* HG-116: Mention missing support for extreme floats
2016-12-13 20:23:13 +03:00

21 lines
459 B
Thrift

namespace erlang msgpack
namespace java com.rbkmoney.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