-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
At the Moment in Issue #5 we can parse only primitive arrays
It would be helpful if we can parse multidimensional arrays.
Test cases:
'Array with subarrays' => [
'input‘ => '[a,b,c,[123,23,2,[abc,def]], d,e,f]‘,
'expected‘ => ['a', 'b', 'c', [123, 23, 2, ['abc', 'def']], 'd', 'e', ‚f‘]
],
'Array with subarrays #2' => [
'input‘ => '[[123,23,2,[abc,def]], a,b,c,d,e,f]‘,
'expected‘ => [[123, 23, 2, ['abc', 'def']], 'a', 'b', 'c', 'd', 'e', ‚f‘]
],
'Array with subarrays #3' => [
'input‘ => '[[123,23,2], a,b,c,d,e,f,[abc,def]]‘,
'expected‘ => [[123, 23, 2], 'a', 'b', 'c', 'd', 'e', 'f', ['abc', 'def‘]]
]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed