Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port documentation over from Google Code wiki #117

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
693bd97
See the change log section of README.txt for details.
Aug 31, 2016
97b3f01
Project files were suppose to be removed from the repo.
Aug 31, 2016
055f3d2
Added old version's github location.
Aug 31, 2016
c0460aa
.settings directory was suppose to be deleted.
Aug 31, 2016
742deb0
Group id matches old library.
Sep 1, 2016
96dba8d
Tweaked java docs. Map#getByDefault(Object) is only available in java…
Sep 1, 2016
05838c3
Ignore xml files.
Sep 1, 2016
115442d
POM generates sources on jar. Developer docs updated in README.txt
Sep 1, 2016
9d650ca
Added developer notes about updating hg-pages.
Sep 1, 2016
fe7095d
Made the group id the original value in the POM.
Sep 1, 2016
35d5433
Updated group id, description, and project url.
Sep 1, 2016
a8a11d4
Added a field into the POM that was in the example POM for maven arti…
Sep 1, 2016
f112f6e
POM prep for automated deploys to public repository. Updated develope…
Sep 2, 2016
57cf9da
Removed unneeded property.
Sep 2, 2016
7bae9de
Deploy options updated in README.txt.
Sep 2, 2016
14bb306
Decided a release profile was superfluous.
Sep 2, 2016
140e396
Added a post clean step to keep the local directory clean in the depl…
Sep 2, 2016
e9d7fe1
Waiting on sonatype approval for org.json group id.
Sep 2, 2016
9f599dc
Removed examples from README.txt
Sep 2, 2016
f5f56c8
Finalizing Jsoner API.
Sep 2, 2016
3dd58c2
Added javadocs about IllegalArgumentException on serialize calls.
Sep 2, 2016
87d2db2
Authors -> Contributors. Change log moved to the front of the file.
Sep 2, 2016
2b8aba7
Added proper copyright notice for the Apache License 2.0 for Clifton …
Sep 2, 2016
47e6abd
Maven coordinates updated hoping/wishing org.json.simple groupId acce…
Sep 6, 2016
3406633
Removing deploy password placeholder since it listed as optional in d…
Sep 7, 2016
b508be2
Not sure why the settings.xml and pom.xml file are not cooperating on…
Sep 7, 2016
4285164
Settings.xml may not need to be part of the repo?
Sep 7, 2016
24e531c
[maven-release-plugin] prepare release json-simple-2.0.0
Sep 7, 2016
758bba4
[maven-release-plugin] prepare for next development iteration
Sep 7, 2016
98f221e
JsonArray and JsonObject no longer return primitives. JsonObject has …
Sep 14, 2016
479f80e
Automated code cleanup.
Sep 14, 2016
de60f10
Fixed some README typos.
Sep 14, 2016
eda23e7
[maven-release-plugin] prepare release json-simple-2.1.0
Sep 14, 2016
c6e0d3b
[maven-release-plugin] prepare for next development iteration
Sep 14, 2016
ea61f87
Updated gh-pages update process.
Sep 14, 2016
20d45a2
Added a LICENSE and CHANGELOG file. README.txt -> README. Convenience…
Sep 28, 2016
beecc62
JsonArray#get javadocs now mention the possibility of a NumberFormatE…
Sep 29, 2016
a6a3a66
Separated a TODO from a comment about the code.
Sep 29, 2016
6985447
[maven-release-plugin] prepare release json-simple-2.1.1
Sep 29, 2016
10ee77b
[maven-release-plugin] prepare for next development iteration
Sep 29, 2016
e127ca8
Corrected the latest version in the CHANGELOG.
Sep 29, 2016
3dea0b5
Noted that the README was split.
Oct 18, 2016
418d8fb
Updated tests to ensure deserialization allows a missing colon in a k…
Oct 31, 2016
e4d8545
[maven-release-plugin] prepare release json-simple-2.1.2
Oct 31, 2016
0c20efb
[maven-release-plugin] prepare for next development iteration
Oct 31, 2016
bd12c83
Added a direct URL to the javadocs in the README.
Nov 2, 2016
12e57a8
README now contains a heads up to developers that wish to contribute …
Nov 10, 2016
b8f365f
Update CHANGELOG
Dec 8, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .classpath

This file was deleted.

11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
bin
target
pom.xml.releaseBackup
release.properties
.project
.classpath
.metadata
.settings
*.log
*.java~
*.xml
17 changes: 0 additions & 17 deletions .project

This file was deleted.

3 changes: 0 additions & 3 deletions .settings/org.eclipse.core.resources.prefs

This file was deleted.

3 changes: 0 additions & 3 deletions AUTHORS.txt

This file was deleted.

85 changes: 85 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
Version 2.1.2 (2016/10/*)
* Bug fix: Jsoner#prettyPrint(printable) no longer quotes colons.
* Enhancement: for convenience a colon missing between a key value pair will officially continue to function as it has since the 1.* versions. Deserialization test cases have been updated.

Version 2.1.1 (2016/09/*)
* Separated the CHANGLOG and LICENSE from the README as they are recognized by tools like github. Most of the information in README is linked to on the project's website.
* Enhancement: JsonArray and JsonObject convenience gets are more flexible on their expected value. Booleans now allow Booleans or Strings. Numbers now allow Numbers or Strings. Strings now allow Booleans, Numbers, or Strings.

Version 2.1.0 (2016/09/*)
* Bug fix: JsonObject#getDefaultByte(key, defaultValue) now properly returns a byte value instead of a float.
* Enhancement: JsonObject has typed gets for each JSON value type.
* Enhancement: JsonArray and JsonObject no longer return primitives.

Version 2.0.0 (2016/09/*)
* Davin Loegering was added to the list of Authors.
* Consolidated the author list, change log, and license files from the base directory into the README.txt file.
* Removed ant build file.
* SCM section of the POM is updated with the github information since the svn repo urls were 404s.
* POM now defines the source at 1.7 instead of 1.2, and is the only cause for the major version increment. The 2.0.0 release of this library is otherwise 100% backwards compatible with the older versions.
* Minor code quality changes have been made to the old files of the project.
* JFlex plugin now included in POM.
* JFlex will produce a lexing class from all lex files in src/main/lex.
* Javadocs are now produced when the jar goal is executed.
* Moved lex files from doc/ to src/main/lex.
* Deprecated the old json.lex in favor of jsonstrict.lex.
* Deprecated ContentHandler and doesn't have a 2.0 equivalent.
* Deprecated ContainerFactory and doesn't have a 2.0 equivalent.
* Deprecated ItemList and doesn't have a 2.0 equivalent.
* Deprecated JSONParse and JSONValue in favor of Jsoner.
* Deprecated JSONStreamAware and JSONAware in favor of Jsonable.
* Deprecated JSONObject in favor of JsonObject.
* Deprecated JSONArray in favor of JsonArray.
* Deprecated org.json.simple.parser.ParseException for org.json.simple.DeserializationException.
* Deprecated org.json.simple.parser.Yytoken for org.json.simple.Yytoken.
* Deprecated org.json.simple.parser.Yylex for org.json.simple.Yylex.
* Tests for deprecated classes have been reorganized and updated to ensure backwards compatibility is maintained throughout the 2.x release lifetime.
* Classes that have been deprecated still have shoddy javadocs but were updated to not produce errors and warnings during the build process.
* Classes introduced in the 2.0 release have substantial javadocs to help projects heathily update ASAP.
* The Jsonable interface allows others to define how their objects should be serialized in JSON.
* DeserializationException has a new problem type for disallowed tokens.
* DeserializationException now recommends recovery actions based on the problem that caused the DeserializationException in its message. All recovery scenarios are basically the same so DeserializationException is still the only json-simple exception class.
* The new Yytoken types are renamed.
* The new Yytoken is robustly constructed only allowing a null value when it is a null value in the DATUM tokens.
* Jsoner can escape strings provided to it to help with implementing the Jsonable interface.
* Jsoner can pretty print JSON strings provided to it for logging and basic display purposes.
* Jsoner can serialize data defined in the RFC 4627 specification and objects that implement the Jsonable interface. If data could be serialized multiple ways the deepest Jsonable implementation in the heiarchy is preferred. Any defined Jsonable implementation will be preferred before falling back to a default serialization.
* Jsoner can serialize an Enum that doesn't implement Jsonable.
* Jsoner will deserialize any numerical value as a BigDecimal.
* Jsoner can deserialize JsonArrays, JsonObjects, Strings, Numbers, Booleans, and null from strings provided to it.
* Jsoner can deserialize a JsonArray and exception out if any other value would be returned.
* Jsoner can deserialize a JsonObject and exception out if any other value would be returned.
* Jsoner can deserialize multiple JsonArrays, JsonObjects, Strings, Numbers, Booleans, and nulls from a single string provided to it.
* Jsoner deserialization (parsing) is thread safe.
* JsonArray is based on ArrayList<Object>. So it won't produce code warnings and can be used to construct a more convenient Collection.
* JsonArrays that are homogeneous can be cast and copied into a provided collection of the homogenous type.
* JsonArray contains gets for each allowed data type in JSON and convenience methods for Collections, Enums, and Maps. Note that they will throw ClassCastExceptions in such cases since it is still indictitive of a programmer's error.
* JsonObject is based on HashMap<String, Object>.
* JsonObject contains getTypeOrDefault for each allowed data type in JSON and convenience methods for Collections, Enums, and Maps. Note that they will throw ClassCastExceptions in such cases since it is still indictitive of a programmer's error.

Version 1.1.1 (2012/01/29)
* Supports OSGi
* Accepts a java.util.Map parameter in constructor of JSONObject

Version 1.1 (2009/01/23)
* Supports stoppable SAX-like content handler for streaming of JSON text
* Added JSONStreamAware to support streaming JSON text
* Added ContainerFactory to support creating arbitrary Map and List as JSON object and JSON array container during decoding
* Supports any Map and List as JSON object and JSON array container during encoding
* Added interface JSONAware
* Added ParseException to get detail error report while parsing
* Added escaping for Unicode characters that cause problems for browser JS eval

Version 1.02 (2009/01/10)
* Updated json.lex to improve performance of the lexer
* Removed Rope.java and related junit test

Version 1.01 (2008/08/26)
* License changed to a more commerce friendly and clear one, Apache License 2.0
* Use JFlex to generate a faster Yylex.java
* Added Rope.java to get faster string operations
* Separate test codes from source codes
* Added ant build file build.xml

Version 1.0 (2006/04/15)
* Initial version
28 changes: 0 additions & 28 deletions ChangeLog.txt

This file was deleted.

Loading