sbcgua / ajson

Yet another json parser serializer for ABAP
MIT License
50 stars 15 forks source link

make format_datetime the default behavior ? #101

Closed sbcgua closed 2 years ago

sbcgua commented 2 years ago

Usual json date format is "YYYY-MM-DD", yet by default ajson keeps the abap formatting (no dashes). This is fixed by the format_datetime call at creation time. Though ... maybe it makes sense to make date formatting the default behavior ...

mbtools commented 2 years ago

i'm mostly consuming JSON, not creating it but would also say "YYYY-MM-DD" (iso) should be the default

sbcgua commented 2 years ago

done. Beware of potential regressions @mbtools @larshp will publish as 1.1.4 in a moment