Search found 2 matches
- Mon Apr 03, 2023 2:55 pm
- Forum: YAJL-ILE
- Topic: lexical error: invalid char in json text error using yajl_buf_load_tree
- Replies: 7
- Views: 24347
Re: lexical error: invalid char in json text error using yajl_buf_load_tree
I checked already in debug mode the value of my variable xml on the production system and i don't see any strange characters. I also copied the variable xml (production) into a flat file with copy/paste, removed the characters single quotes, and passed it again to an online Jason format checker. For...
- Mon Apr 03, 2023 11:07 am
- Forum: YAJL-ILE
- Topic: lexical error: invalid char in json text error using yajl_buf_load_tree
- Replies: 7
- Views: 24347
Re: lexical error: invalid char in json text error using yajl_buf_load_tree
I get the same error message "lexical error: invalid char in json text" using this statement (passing a variable in memory xml with a size of 1000000 char) Lng_Xml = %len(%trimr(xml)); docNode = yajl_buf_load_tree(%addr(xml):lng_xml:ErrMsg) ; if ErrMsg <> ' '; ..... handle error endif; How...