-
-
Notifications
You must be signed in to change notification settings - Fork 76
Support reading multiple JSON syntax blocks in a single input (#269) #272
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
Conversation
@@ -41,14 +47,6 @@ public Object parse(byte[] in) throws ParseException { | |||
return parse(in, JSONValue.defaultReader.DEFAULT); | |||
} | |||
|
|||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's important that we maintain the blank lines in this file. They aren't 'empty' code; they're there to synchronize line numbers with similar files. In this pull request, you've added six lines and removed seven, which has broken this synchronization. Please adjust your changes to restore the correct line number offset.
@@ -54,13 +58,4 @@ public <T> T parse(InputStream in, JsonReaderI<T> mapper) | |||
// | |||
return super.parse(i2, mapper); | |||
} | |||
|
|||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double check lines offset ans preserve some empty lines here probably should keep 5 out of 9
@@ -28,8 +28,6 @@ | |||
* @see JSONParserReader | |||
*/ | |||
abstract class JSONParserStream extends JSONParserBase { | |||
// len |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not drop those offset empty lines.
please keep the original line sync across similar files. |
* improve testing * fix maven-resources-plugin version to 3.3.1 * patch on github ations * patch versions * fix version * rollback versions * downgrade * add condition for github workflows * patch action * test patch action * edd exta test in action * add jacoco * patch coverage * patch coverage * Support reading multiple JSON syntax blocks in a single input (#269) (#272) Co-authored-by: QIURC <[email protected]> * change year + offset some code + fix warning * fix warnings * fix warnings * add missing jsdoc * add missing jsdoc * spotless:apply * add tests * mvn spotless:apply * add tests * mvn spotless:apply * add tests * add publishing action * update changelog --------- Co-authored-by: Caimo <[email protected]> Co-authored-by: QIURC <[email protected]>
* improve testing * fix maven-resources-plugin version to 3.3.1 * patch on github ations * patch versions * fix version * rollback versions * downgrade * add condition for github workflows * patch action * test patch action * edd exta test in action * add jacoco * patch coverage * patch coverage * Support reading multiple JSON syntax blocks in a single input (#269) (#272) Co-authored-by: QIURC <[email protected]> * change year + offset some code + fix warning * fix warnings * fix warnings * add missing jsdoc * add missing jsdoc * spotless:apply * add tests * mvn spotless:apply * add tests * mvn spotless:apply * add tests * add publishing action * update changelog * patch relase script --------- Co-authored-by: Caimo <[email protected]> Co-authored-by: QIURC <[email protected]>
fix #269