← Back to team overview

maria-discuss team mailing list archive

Re: JSON and binary strings

 

Hi Roberto,

Never mind latin1. What about BINARY, one of the datatypes explicitly
supported by dynamic columns?

If you put a BINARY string into a dynamic column, what should COLUMN_JSON
do?

All other JSON encoders I know error on data that cannot be encoded as JSON.
But Maria instead returns non-JSON.

Tom

From:  Roberto Spadim <roberto@xxxxxxxxxxxxx>
Date:  Saturday, January 31, 2015 at 3:48 PM
To:  Peter Laursen <peter_laursen@xxxxxxxxxx>
Cc:  Tom Worster <fsb@xxxxxxxxxx>, maria-discuss email list
<maria-discuss@xxxxxxxxxxxxxxxxxxx>
Subject:  Re: [Maria-discuss] JSON and binary strings

one "problem" about JSON, it only accept Unicode, be carefull when using
latin1 + utf8 + json

http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf

"2 Conformance Conforming
JSON text is a sequence of Unicode code points that strictly conforms to the
JSON grammar"




References