JSON Datatypes

64 views
Skip to first unread message

Wassily

unread,
Nov 25, 2021, 3:18:44 AM11/25/21
to Bots Open Source EDI Translator
Hi all

Is there an existing or easy way for outgoing JSON message to have a specific datatype as per the defined grammar ?

Example: grammar to be numeric/integer, that the JSON output would be:
"something": 101
instead of
"something": "101"

Thanks
Wassily

Eppye Bots

unread,
Nov 25, 2021, 4:36:32 AM11/25/21
to 'Chuck Turco' via Bots Open Source EDI Translator
there is not a way to do this now.

kind regards, Henk-Jan Ebbers


--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/61d9df32-8a48-42eb-88e3-a6c9542518a9n%40googlegroups.com.

Philip

unread,
Feb 5, 2022, 1:07:45 AM2/5/22
to Bots Open Source EDI Translator
Wassily,

There is a pull request on GitHub that you should have a look at:


These changes as a putraw() function that does not cast everything to a string before passing it on to the JSON file builder component.

Op donderdag 25 november 2021 om 10:36:32 UTC+1 schreef eppye:
Reply all
Reply to author
Forward
0 new messages