Download & Extend

toJson fixed to respect arrays and object in Javascript

Project:JSON server
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

Array and objects are encoded differently in JSON - see http://json.org.

This patch adds support for both. It might make sense to package JSON server with a more robust 3rd party JSON encode/decode.

AttachmentSize
tojson.patch1.38 KB

Comments

#1

Status:active» closed (works as designed)
nobody click here