public ByteArrayOutputStream toJSON ( ) throws IOException { final ByteArrayOutputStream out = new ByteArrayOutputStream ( ) ; mapper . writeValue ( out , this ) ; return out ; }
Create a JSON representation of the GoodwillSchemaField . It will always contain the name type and position . Description and SQL attributes are however optional .