My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 18: Empty array is rendered incorrectly
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by clemens....@gmail.com, Jun 30, 2010
What steps will reproduce the problem?

Dim data()
ReDim data(0)
Dim json

Set json = jsObject()
Response.Write toJSON(data)

What is the expected output? 

[]

What do you see instead?

[null]

What version of the product are you using? On what operating system?

The version used is JSON_2.0.4.asp. JSON_2.0.4.asp works correctly as expected.

Please provide any additional information below.

After looking at the source code, I believe JSON_2.0.3.asp is affected also.
Sign in to add a comment

Powered by Google Project Hosting