Str representation for integer. #3698
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
project:airmail
(As requested by a customer but also motivated by #3621)
Javascript (Java too?) does not play well with u64.
It would be nice to add option in the mapper to set the representation of integers as "string" for numbers.
If the option is set to false, everything happens like today. Strings as an input are rejected, and the values are encoded
as Json numbers.
If a user sets:
string_in_json: true
, then we would accept BOTH, strings and numbers as an input.In addition, when we recreate JSON for documents, we would encode the values as strings.
The text was updated successfully, but these errors were encountered: