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
  • 56,735
  • 45
  • 213
  • 327
m_br0_89
  • 85
  • 1
  • 8

1 Answers1

0

For example, you can encode your specific data with Base64

Evgeny Lebedev
  • 1,318
  • 1
  • 18
  • 29