-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create JSON array? #66
Comments
Can you explain what you're trying to do and what you're getting in more detail? You should be able to do something like the following on Linux: $ ffs --new foo.json &
$ setfattr -n user.type -v list # use xattr on macOS
$ echo hi >foo/a
$ echo hello >foo/b
$ echo howdy >foo/c
$ umount foo
$ cat foo.json
['hi', 'hello', 'howdy'] (NB I'm not at a computer with |
OK, here is my flow:
I'm honestly not sure what I'm doing wrong, probably an object can't be an element of an array? Maybe I have to stick to primitive values? |
Oh, I didn't know about |
I thought I might be able to create a JSON array, but whatever I do, it always generates an object with null values for me.
The text was updated successfully, but these errors were encountered: