This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a change to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git.
from 378ebfc Manual: Updated version history
new 125b8e6 (JavaDoc typo fixes)
new 11c2b09 Added ?eval_json to evaluate JSON given as flat string. This
was added as ?eval is routinely misused for the same purpose.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/main/java/freemarker/core/BuiltIn.java | 4 +-
.../freemarker/core/BuiltInsForStringsMisc.java | 17 +-
src/main/java/freemarker/core/JSONParser.java | 622 +++++++++++++++++++++
.../java/freemarker/core/TemplateNullModel.java | 4 +-
.../java/freemarker/template/_TemplateAPI.java | 4 +-
src/manual/en_US/book.xml | 98 ++++
.../EvalJsonBuiltInTest.java} | 15 +-
src/test/java/freemarker/core/JSONParserTest.java | 171 ++++++
8 files changed, 923 insertions(+), 12 deletions(-)
create mode 100644 src/main/java/freemarker/core/JSONParser.java
copy
src/test/java/freemarker/{ext/beans/Java9InstrospectorBugWorkaroundTest.java =>
core/EvalJsonBuiltInTest.java} (70%)
create mode 100644 src/test/java/freemarker/core/JSONParserTest.java