rcdmk / aspJSON

A fast classic ASP JSON parser and encoder for easy JSON manipulation to work with the new JavaScript MV* libraries and frameworks.
MIT License
204 stars 89 forks source link

empty objects #9

Closed galatechnology closed 8 years ago

galatechnology commented 8 years ago

I have some json objects which can contain empty objects: e.g. {"emptyObjects":{},"objects":{"prop1":"outroTexto","prop2":"bla"}}

calling jsonObj.Serialize() will give the following output: {"emptyObjects":{"objects":{"prop1":"outroTexto","prop2":"bla"}}}

as you can see, it thinks objects is a child of emptyObjects

rcdmk commented 8 years ago

Can you confirm what version are you using, please? In some point in time I've fixed a similar problem.

As soon I'm back at home I should take a look at this.

galatechnology commented 8 years ago

Hi, I am using the latest version (can't remember what number it is), but I only downloaded it a few days ago

Sent from Outlook Mobilehttps://aka.ms/blhgte

On Wed, Apr 6, 2016 at 8:50 AM -0700, "RCDMK" notifications@github.com<mailto:notifications@github.com> wrote:

Can you confirm what version are you using, please? In some point in time I've fixed a similar problem.

As soon I'm back at home I should take a look at this.

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/rcdmk/aspJSON/issues/9#issuecomment-206438215

rcdmk commented 8 years ago

Sorry for the late fix. It's now working as it's supposed to do.