Skip to content

Remove outdated Ant and org.json references from writing-extensions.md#550

Open
nishitagajraj wants to merge 1 commit intoOpenRefine:masterfrom
nishitagajraj:nishitagajraj-patch-1
Open

Remove outdated Ant and org.json references from writing-extensions.md#550
nishitagajraj wants to merge 1 commit intoOpenRefine:masterfrom
nishitagajraj:nishitagajraj-patch-1

Conversation

@nishitagajraj
Copy link
Copy Markdown
Contributor

Removes outdated references to the Ant build system (build.xml) and old org.json library (JSONObject, JSONWriter) which were replaced in OpenRefine 3.1 and 3.2 respectively.

Fixes #522

Removes outdated references to the Ant build system (build.xml) and old org.json library (JSONObject, JSONWriter) which were replaced in OpenRefine 3.1 and 3.2 respectively.

Fixes OpenRefine#522
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 5, 2026

Deploy Preview for openrefine-website ready!

Name Link
🔨 Latest commit 4fc4bdc
🔍 Latest deploy log https://app.netlify.com/projects/openrefine-website/deploys/69a9ae9799fec60008169df5
😎 Deploy Preview https://deploy-preview-550--openrefine-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@tfmorris tfmorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing and updating the documentation! I think it needs a little more work, but it's a good start.


```
public void write(JSONWriter writer, Properties options) throws JSONException {
public void writeJSON(ObjectMapper writer) throws JsonProcessingException {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above. There is no writeJSON method. The documentation on migrating legacy extensions might have the necessary information which could be used to update this.


```
static public OverlayModel reconstruct(JSONObject o) throws JSONException {
static public OverlayModel reconstruct(ObjectNode o) throws IOException {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for identifying the obsolete reference, but the update isn't a one-to-one replacement. You'll need to check the new code to figure out the proper documentation.

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.

Remove outdated code references from extension documentation

2 participants