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:
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
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: