Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Properly Edit Non-Java Strings (XML, JSON, and SQL) in Java Files [Video]

DZone 's Guide to

How to Properly Edit Non-Java Strings (XML, JSON, and SQL) in Java Files [Video]

Check out this video to learn how to properly edit non-Java strings.

· Java Zone ·
Free Resource

Sometimes, you want to have variables in Java that have complex HTML or JSON strings as their value. Editing these strings by hand is rather cumbersome. You have to make sure they are valid, and you get the quotation, escaping right, etc.

But, it doesn't have to be that way. IntelliJ offers nice features that make your life easier there, as displayed in this short episode.


Topics:
java ,intellij ,strings ,tutorial ,video ,java file ,xml ,json ,sql ,html

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}