suggest whitespace behaves like no-op

21 views
Skip to first unread message

Barry Downes

unread,
Oct 1, 2015, 4:53:06 AM10/1/15
to Universal Binary JSON (UBJSON)
I suggest that whitespace (space, tab, carriage-return & newline), in any context where a type code is expected, should behave like the N no-op type code.

This would allow whitespace to be used for limited formatting of the data, making it more human-readable.
This would be useful during development and debugging.  You could insert newlines and indentation to clearly delineate separate object or array elements during development, and remove them for production builds.
If this proposal were adopted, the N type code might no longer be required.

Michael

unread,
Oct 6, 2015, 7:00:31 AM10/6/15
to universal-...@googlegroups.com
It's should be as machine readable format strictly. If you want a debug features just write a debug tool.
Reply all
Reply to author
Forward
0 new messages