Kann ein JSON-Wert eine mehrzeilige Zeichenfolge enthalten?
Ich schreibe eine JSON-Datei, die von einem Java-Programm gelesen werden würde. Das Fragment ist wie folgt ...
{
"testCases" :
{
"case.1" :
{
"scenario" : "this the case 1.",
"result" : "this is a very long line which is not easily readble.
so i would like to write it in multiple lines.
but, i do NOT require any new lines in the output.
I need to split the string value in this input file only.
such that I don't require to slide the horizontal scroll again and again while verifying the correctness of the statements.
the prev line, I have shown, without splitting just to give a feel of my problem"
}
}
}