Module id.xfunction
Package id.xfunction

Class XJsonStringBuilder

Object
XJsonStringBuilder

public class XJsonStringBuilder extends Object
JSON string builder for key-value pairs.

To get proper JSON all toString methods of each value to be added (appended) should produce proper JSON representation for itself.

This class can be used within Eclipse as toString method generator. Generated toString will produce JSON representation of an object. To set it up open Source - Generate toString - Code style - Custom toString builder and select this class.