Allow JSON service to create implicit arrays

Description

If you try to create an array using any of the JSON-based "set" commands:

  • config set

  • package set

  • server set

like so

you will get a struct with a key of "1".

 

You must first initialize "foo" as an array for it to work:

to get

Modify the JSONService such that if the "key" is a number, assume the user wants an array. This is a potentially breaking change. If you explicitly want a struct, you need to quote the key name like so:

Fixed

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Affects versions

None

Fix versions

Priority

Major