Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Commented Unassigned: nfjsoncreate doesn't serialize colletions propertly [43454]

$
0
0
When a collection is added to a plain object, the resulting JSON is not valid (a curly bracket is missing). For example:

```
oObj = CREATEOBJECT("empty")
ADDPROPERTY(oObj, "stuff", CREATEOBJECT("collection"))
tcMsg = nfjsoncreate(oObj , .T.)

```

produces:

```
{
"stuff_kl_collection":{
"collectionitems": [
]

}
```

Thank you in advance!
Comments: ** Comment from web user: mplazac **

Hi, thanks for posting,
bug already fixed.

Check latest download.


Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>