0

I would like send json like {"str" : "string1"} where string1 I take from db and it can be like :

" ; "msisdn"= 380<!^d+${9}>
мин/макс - 1//4999
номер для теста - 38091

"

& of course I got an error:

{"errorMessages":["Illegal unquoted character

How i can fix that ?

Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
m_br0_89
  • 85
  • 2
  • 8

1 Answers1

0

For example, you can encode your specific data with Base64

Eugene Lebedev
  • 1,400
  • 1
  • 18
  • 30