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.
Join the DZone community and get the full member experience.
Join For FreeSometimes, 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.
Published at DZone with permission of Marco Behler. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments