Skip to content
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 a column that the value is an array #90

Closed
dxu73 opened this issue Jun 28, 2013 · 3 comments
Closed

How to create a column that the value is an array #90

dxu73 opened this issue Jun 28, 2013 · 3 comments

Comments

@dxu73
Copy link

dxu73 commented Jun 28, 2013

Does this tool support generating JSON document in which a field value is an array.

For example, how to generate a document like the following. Note: The 'Hobbies' field value is an array:

{ 'Name' : 'Jane', 'Address' : '123 Main Street', 'Hobbies' : [ 'Ski', 'Read', 'Jogging']}

@dxu73 dxu73 closed this as completed Jun 28, 2013
@dxu73 dxu73 reopened this Jun 28, 2013
@benkeen
Copy link
Owner

benkeen commented Jul 5, 2013

Hi dxu,

Interesting! But no, this isn't really possible right now. Technically I could definitely tweak the JSON Export Type to generate an array of values for the Custom List Data Type, instead of a comma-delimited list, but then it wouldn't be consistent with the other Export Types.

I think to do this, you'd probably need to create a new, custom Export Type that generates it exactly as you need.

Sorry about that!

  • Ben

@benkeen benkeen closed this as completed Jul 5, 2013
@soundstep
Copy link

I second that, an array format is definitely missing, that's the first thing I was looking for.

@gbordelgit
Copy link

hey,
would be good to support array items ['1','2','3']as a sql column for postgresql ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants