Skip to content
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

Updating from 1.2.3 to 1.5.0 breaks #119

Open
SElab2019 opened this issue Dec 11, 2019 · 0 comments
Open

Updating from 1.2.3 to 1.5.0 breaks #119

SElab2019 opened this issue Dec 11, 2019 · 0 comments

Comments

@SElab2019
Copy link

When I try to upgrade Jsonassert from 1.2.3 to version after 1.4.0. The following code breaks.

public static void jsonSchema2Xsd(InputStream isJsonSchema, OutputStream osXSD) throws JSONException, ParserConfigurationException, TransformerException {
		Reader inputReader = new InputStreamReader(isJsonSchema);
		JSONObject rawSchema = new JSONObject(new JSONTokener(inputReader));
}

The code should pass. But it throws an error:

incompatible types: java.io.Reader cannot be converted to java.lang.String
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

No branches or pull requests

1 participant