Skip to content

Commit 811baf9

Browse files
committed
Introduced version 1.45
1 parent 4839c26 commit 811baf9

File tree

4 files changed

+32
-32
lines changed

4 files changed

+32
-32
lines changed

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Include the following in your `pom.xml` for Maven:
2828
<dependency>
2929
<groupId>com.github.javadev</groupId>
3030
<artifactId>underscore17</artifactId>
31-
<version>1.44</version>
31+
<version>1.45</version>
3232
</dependency>
3333
...
3434
</dependencies>
@@ -37,7 +37,7 @@ Include the following in your `pom.xml` for Maven:
3737
Gradle:
3838

3939
```groovy
40-
implementation 'com.github.javadev:underscore17:1.44'
40+
implementation 'com.github.javadev:underscore17:1.45'
4141
```
4242

4343
### Usage
@@ -83,16 +83,16 @@ U.formatJson("{\"a\":{\"b\":\"data\"}}", Json.JsonStringBuilder.Step.TWO_SPACES)
8383
// }
8484

8585
U.xmlToJson(
86-
"<mydocument has=\"an attribute\">\n"
87-
+ " <and>\n"
88-
+ " <many>elements</many>\n"
89-
+ " <many>more elements</many>\n"
90-
+ " </and>\n"
91-
+ " <plus a=\"complex\">\n"
92-
+ " element as well\n"
93-
+ " </plus>\n"
94-
+ "</mydocument>",
95-
Json.JsonStringBuilder.Step.TWO_SPACES);
86+
"<mydocument has=\"an attribute\">\n"
87+
+ " <and>\n"
88+
+ " <many>elements</many>\n"
89+
+ " <many>more elements</many>\n"
90+
+ " </and>\n"
91+
+ " <plus a=\"complex\">\n"
92+
+ " element as well\n"
93+
+ " </plus>\n"
94+
+ "</mydocument>",
95+
Json.JsonStringBuilder.Step.TWO_SPACES);
9696
// {
9797
// "mydocument": {
9898
// "-has": "an attribute",
@@ -111,23 +111,23 @@ U.xmlToJson(
111111
// }
112112

113113
U.jsonToXml(
114-
"{\n"
115-
+ " \"mydocument\": {\n"
116-
+ " \"-has\": \"an attribute\",\n"
117-
+ " \"and\": {\n"
118-
+ " \"many\": [\n"
119-
+ " \"elements\",\n"
120-
+ " \"more elements\"\n"
121-
+ " ]\n"
122-
+ " },\n"
123-
+ " \"plus\": {\n"
124-
+ " \"-a\": \"complex\",\n"
125-
+ " \"#text\": \"\\n element as well\\n \"\n"
126-
+ " }\n"
127-
+ " },\n"
128-
+ " \"#omit-xml-declaration\": \"yes\"\n"
129-
+ "}",
130-
Xml.XmlStringBuilder.Step.TWO_SPACES);
114+
"{\n"
115+
+ " \"mydocument\": {\n"
116+
+ " \"-has\": \"an attribute\",\n"
117+
+ " \"and\": {\n"
118+
+ " \"many\": [\n"
119+
+ " \"elements\",\n"
120+
+ " \"more elements\"\n"
121+
+ " ]\n"
122+
+ " },\n"
123+
+ " \"plus\": {\n"
124+
+ " \"-a\": \"complex\",\n"
125+
+ " \"#text\": \"\\n element as well\\n \"\n"
126+
+ " }\n"
127+
+ " },\n"
128+
+ " \"#omit-xml-declaration\": \"yes\"\n"
129+
+ "}",
130+
Xml.XmlStringBuilder.Step.TWO_SPACES);
131131
// <mydocument has="an attribute">
132132
// <and>
133133
// <many>elements</many>

pom-central17.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.github.javadev</groupId>
55
<artifactId>underscore17</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.44</version>
7+
<version>1.45</version>
88
<name>java 17 port of Underscore.js</name>
99
<description>The java 17 port of Underscore.js</description>
1010
<url>https://github.com/javadev/underscore-java17</url>

pom-pack17.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.github.javadev</groupId>
55
<artifactId>underscore17</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.44</version>
7+
<version>1.45</version>
88
<name>java 17 port of Underscore.js</name>
99
<description>The java 17 port of Underscore.js</description>
1010
<url>https://github.com/javadev/underscore-java17</url>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.github.javadev</groupId>
55
<artifactId>underscore11</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.44-SNAPSHOT</version>
7+
<version>1.45-SNAPSHOT</version>
88
<name>java 17 port of Underscore.js</name>
99
<description>The java 17 port of Underscore.js</description>
1010
<url>https://github.com/javadev/underscore-java17</url>

0 commit comments

Comments
 (0)