JSON值可以包含多行字符串吗 | json多行
CanaJSONvaluecontainamultilinestring我正在编写一个Java文件可以读取的JSON文件。片段如下...123456789101112131415{ "testCases": { "case.1": { "scenario":"thisthecase1.", "result":"thisisaverylonglinewhichisnoteasilyreadble. soiwouldliketowriteitinmultiplelines. but,idoNOTrequireanynewlinesintheoutput. Ineedtosplitthestringvalueinthisinputfileonly. suchthatIdontrequiretoslidethehorizontalscrollagainandagainwhileverifyingthecorrectnessofthestatements. ...
Can a JSON value contain a multiline string我正在编写一个Java文件可以读取的JSON文件。 片段如下...
123456789101112131415
{ "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 dont 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" } }}
{"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 ...