Skip to content

Commit

Permalink
2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
miktim committed Jun 17, 2024
1 parent 97f602a commit e76c856
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020-2022 miktim@mail.ru
Copyright (c) 2020-2024 miktim@mail.ru

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 7 additions & 7 deletions README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Java 7+/Android JSON parser/generator, MIT (c) 2020-2022 miktim@mail.ru
# Java 7+/Android JSON parser/generator, MIT (c) 2020-2024 miktim@mail.ru

Release notes:
- Java SE 7+/Android RFC 8259 compliant package
Expand Down Expand Up @@ -95,7 +95,7 @@ Overview:
Object toJSON()
throws IllegalArgumentException, IllegalAccessException;
// returns JSON object
// convertible object parameters must be initialized
// the accessible fields of the object must be initialized
protected Object replacer(String name, Object value);
// first call with object class name and empty JSON object as value
public String toJSONText()
Expand All @@ -105,7 +105,7 @@ Overview:
Object fromJSON(Object jsonObj)
throws IllegalArgumentException, IllegalAccessException;
// returns this object
// convertible object parameters must be initialized
// the accessible fields of the object must be initialized
protected Object reviver(String name, Object value);
// first call with object class name and obj argument as value
public Object fromJSONText(String jsonText)
Expand All @@ -117,10 +117,10 @@ Overview:
protected void setIgnored(String[] fldNames); // set ignored field names
protected String[] getIgnored()

Usage see:
./test/json/JSONTest.java
./test/json/JSONAdapterTest.java
./test/json/JSONObjectTest.java
Usage see:
./test/json/JSONTest.java
./test/json/JSONAdapterTest.java
./test/json/JSONObjectTest.java

The result of the JSON parsing test for compliance with RFC 8259:
https://miktim.github.io/JSONTestSuite/results/parsing.html

0 comments on commit e76c856

Please sign in to comment.