Search:

Type: Posts; User: rkmove19

Search: Search took 0.07 seconds.

  1. Re: Not able to read JSON String from the file which has escape chars

    Sure. i will check this package.

    Thanks
  2. Re: Not able to read JSON String from the file which has escape chars

    Thanks Norm.

    If i keep the string in System.out.println, it prints correctly as expected as you shown.

    But when i directly read the string from the file and place it in variable for further...
  3. Re: Not able to read JSON String from the file which has escape chars

    Sure. It will do.

    Thanks
  4. Re: Not able to read JSON String from the file which has escape chars

    Input (records from the file, tab delimited):
    12345 {\"orders\": {\"type\": \"metadata\", \"version\": \"b2f\", \"result\": null},\"saleinfo\": {\"type\": \"metadata\", \"version\": \"1.0\",...
  5. Re: Not able to read JSON String from the file which has escape chars

    Replace backslash not a solution as some of the elements in the jsonStr has \\\ (3) and in future we are not sure. so as such string should able to escape the \ inside the string as like below :

    ...
  6. Not able to read JSON String from the file which has escape chars

    Hi All

    I'm facing issue while reading the json string with escape double quote in it which need to be processed by GSON after the extraction. GSON failing with malformed exception as the string...
Results 1 to 6 of 6