Sorry, I don't understand.

Please give a sequence that fails.

Henry Rich

On 1/21/2020 11:13 AM, 'Sergey Kamenev' via Programming wrote:
Sorry. I make error in verb getJsonNode:

Forget this:
path =. '/' splitstring x

21.01.2020 18:43, 'Sergey Kamenev' via Programming пишет:
sJson =. fread 'btc_block_100.txt'

NB. left - boxed elem, right - boxed decoded json
getJsonEl =: dyad : 0

   string =. >x
   fl =. {. y

   > (1 { y) {~ 1 i.~ string&-:@> fl
)

NB. Parsing json path like 'store/book/title'
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to