Skip to content

Commit

Permalink
Implementing filter and remove json objects or attributes in a string…
Browse files Browse the repository at this point in the history
… feature. Implementing mute log feature.
  • Loading branch information
Mariana Azevedo committed Apr 12, 2019
1 parent 3e6d5a7 commit 05ced3a
Show file tree
Hide file tree
Showing 5 changed files with 302 additions and 45 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.mariazevedo88</groupId>
<artifactId>json-formatter-validator</artifactId>
<version>1.1.10-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>

<name>json-formatter-validator</name>
<description>Java tool for json validation via string or file and correction of invalid json-like string</description>
Expand Down Expand Up @@ -51,7 +51,7 @@
<connection>scm:git:git://github.com/mariazevedo88/json-formatter-validator.git</connection>
<developerConnection>scm:git:git@github.com:mariazevedo88/json-formatter-validator.git</developerConnection>
<url>https://github.com/mariazevedo88/json-formatter-validator</url>
<tag>json-formatter-validator-1.1.8</tag>
<tag>json-formatter-validator-1.1.9</tag>
</scm>

<distributionManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void main(String[] args) throws IOException{
CustomJSONFormatter formatter = new CustomJSONFormatter();

for(String arg : args) {
json = formatter.checkValidityAndFormatObject(arg);
json = formatter.checkValidityAndFormatObject(arg, false);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ public enum DelimitersEnum {
RIGHT_KEY_WITH_ESCAPE("\"}"),
SEMICOLON(";"),
DOUBLE_SEMICOLON(";;"),
QUOTES("''");
QUOTES("''"),
LEFT_KEY("{"),
LEFT_BRACKETS("["),
RIGHT_BRACKETS("]");

private String value;

Expand Down

0 comments on commit 05ced3a

Please sign in to comment.