skyem123 4 Posted May 18, 2017 Share Posted May 18, 2017 It's very hard to convert Markdown into what this forum uses, so the specification and example implementation is in a gist:https://gist.github.com/skyem123/f5aa955699da26a5b8b9a6390552232a I may change the wording or fix bugs, but the actual specification will not / should not change. Quote Link to post Share on other sites
Magik6k 17 Posted May 18, 2017 Share Posted May 18, 2017 Why MsgPack instead of CBOR(RFC 7049)? Quote Link to post Share on other sites
skyem123 4 Posted May 19, 2017 Author Share Posted May 19, 2017 I chose MessagePack because I didn't think about or see the other thing. Maybe another thing would be "better", but there's a point where you just have to pick something, and theoretically you could use a similar method on other ways to encode / store tables. For example, this could be done with the OpenOS table serialise function for extra inefficiency, however this specific standard uses MessagePack. Quote Link to post Share on other sites
BrisingrAerowing 12 Posted May 19, 2017 Share Posted May 19, 2017 Somewhat on topic, there is a pure lua implementation of CBOR here. Quote Link to post Share on other sites
skyem123 4 Posted May 19, 2017 Author Share Posted May 19, 2017 Well someone else can make a standard using CBOR. I won't steal their thunder, though I recommend to whoever does it, use a structure similar to this. ^^; Quote Link to post Share on other sites