neoneo-go/pkg/vm/stackitem
Evgenii Stratonikov c16bb466a0 stackitem: implement marshaling to JSON with types
There are 2 kinds of JSON marshaling:
1. Lossy raw marshaling, when type information is lost and
    map keys are expected to be valid utf-8 strings.
2. Almost lossless marshaling, which can handle any non-recursive item.
    Interop value preserves only type.

This commit implements the second.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2020-07-31 16:07:16 +03:00
..
item.go stackitem: change ByteArray type to ByteString 2020-07-31 16:07:16 +03:00
item_test.go stackitem: change ByteArray type to ByteString 2020-07-31 16:07:16 +03:00
json.go stackitem: implement marshaling to JSON with types 2020-07-31 16:07:16 +03:00
json_test.go stackitem: implement marshaling to JSON with types 2020-07-31 16:07:16 +03:00
serialization.go vm: fix stackitem serialisation 2020-07-06 15:04:19 +03:00
type.go stackitem: change ByteArray type to ByteString 2020-07-31 16:07:16 +03:00