Skip to content

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

Merged
merged 1 commit into from
Aug 2, 2025

Conversation

caimo
Copy link
Contributor

@caimo caimo commented Jul 20, 2025

fix #269

@@ -41,14 +47,6 @@ public Object parse(byte[] in) throws ParseException {
return parse(in, JSONValue.defaultReader.DEFAULT);
}

//
Copy link
Contributor

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);
}

//
Copy link
Contributor

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
Copy link
Contributor

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.

@UrielCh
Copy link
Contributor

UrielCh commented Aug 2, 2025

please keep the original line sync across similar files.

@UrielCh UrielCh changed the base branch from master to upgrade August 2, 2025 16:41
@UrielCh UrielCh merged commit f22ff39 into netplex:upgrade Aug 2, 2025
6 checks passed
UrielCh added a commit that referenced this pull request Aug 2, 2025
* 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]>
UrielCh added a commit that referenced this pull request Aug 2, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to read multiple JSON syntax blocks in a single input
3 participants