[UIMA-3969] Create branch to work on Json serialization

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1616936 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3985] incorrect use of @Override annotation

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617151 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] add dependency on Jackson to uima core to support json serialization

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617348 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] add Json content handler that wraps Jackson impl, supports pretty printing in a style useful for UIMA data

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617349 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] add Json output calls for writing out UIMA descriptors as JSON objects

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617356 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] a simple reordering - moving the inner class to the bottom, in order to have the outer class's statics, local fields, static and instance methods all in "one place" rather than split.  

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617360 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] Rename the Static Final constant for CDATA (to follow Java naming conventions) and move it to the outer class.  Move the numChildren and its getter to the inner class, because the outer class is supposed to be for reusable configuration info only (and therefore thread safe after configuration).  This is only used by a test case I think; update the test case to find it in the inner class.  Rename the inner class from "XmiCasDocSerializer" to just "CasDocSerializer" because it will be used for both Json and XMI styles of serialization.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617368 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] Correct some javadoc comments about the role the typesystem plays.  Reorganize the methods slightly - after the main constructor, do the static "convenience" methods for serializing, followed by the non-static ones. No actual code changes, other than this reorg.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617487 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] add scaffolding to wrap JsonGenerator method's IOExceptions into SAXExceptions to fit into our XmiCasSerialization.  Fix test case for getNumberOfChildren to access the value in the inner class.  Add some structures needed for JSON serialization, make many things in the inner class "final", update constructor for that.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617505 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] remove duplicated stuff in serialize calls, add more json scaffolding, update javadocs.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617511 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] make the get name space prefix operation a method for reuse, and allow for different id names for json and xmi.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617519 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] do some json init for context info.  Factor out some common enqueue code and add a facility to track which types are used, and if the used types actually need namespaces to disambiguate them.  Replace multiple cas.getTypeSystemImpl() with a simple ref to "tsi" declared final.  Add some more json scaffolding - a test to see if a feature code is being encoded as an in-place value or as a FS Ref.  Add scaffolding for writting all FSs in the type-first order used by one of the JSON formats.  Include the approximate sorting of these - following default annotation sort order.  Add missing logic for a feature which is a byteArray.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617539 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] mostly comments updates; change one method to allow for null parameter (to be used by JSON)

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617548 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] add JSON output style.  Make a generic version of ListUtils. Refactor view member writing for commonality. Add special casing for outputting Floats "NaN" etc, as Json Strings.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617560 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] fixup whitespace (no real change except some formatting)

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617561 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] fixup whitespace (no real change except some formatting)

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617581 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] merge from trunk prior to remerging branch - only a property changed

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/branches/2.6.0-json@1617589 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] update top level properties only for merge of branch

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1618949 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] add missing end-paragraph tag

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1618951 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-3969] update format for BY_TYPE_EMBED_ID, update tests, change tests to do compare against expected, as opposed to generating the expected.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1618958 13f79535-47bb-0310-9956-ffa450edef68