Hello Andreas Hausladen, is it possible that your JsonDataObjects has a bug on empty string values?

Hello Andreas Hausladen, is it possible that your JsonDataObjects has a bug on empty string values?

I'm trying your component right now but output for empty strings is like this:

{
"adressen": [
{
"k_nummer": 11,
"k_kurz": "matchcode",
"k_name": "Muster GmbH",
"k_name1":
,
"k_name2":
... snip ...

should the empty-string not be quoted with " like this

"k_name1": "",

Or is it possible that i'm missing something?

Comments

  1. Wow. Sorry for this post. I had another jsondataobjects.pas in the library-path, was a very very old version, standing there only as source.

    Searched and deleted it.

    Now everything is working. Sorry again.

    ReplyDelete
  2. Lars Fosdal​ Exhibit 1 of why SO insist on MCVE.......

    ReplyDelete
  3. David Heffernan I love SSCEs / MCVEs. Not all questions can have one, though.

    ReplyDelete

Post a Comment