This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add option to return scalar arrays as arrays #1
Labels
Comments
ghost
assigned fastfedora
May 6, 2013
Hi! Is there any solution for scalar arrays? |
No, not yet. I'm not actively developing the library any more. If others want to add this, I'd be happy to merge it in with the main branch. |
any updates about this enhancement.? |
Same here. Example:
Result:
Workaround:
|
@kenorb How you would do with something multidimensional (3x3) like Also I can't find the correct path (which look like an XPath but is not?) for for example get just the third column. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Scalar arrays currently get collapsed into a single cell, with values separated by commas.
A use case exists where it would be better to return the values as an array. For instance:
Currently calling ImportJSON with a query of "/aaData" returns a 1 x 1 array containing the value:
John,Smith,jsmith@example.com,Tody,Harris,tharris@example.com
Instead, there should be an option to return the values as a 3 x 2 array:
The text was updated successfully, but these errors were encountered: