Skip to Main Content
InterSystems Ideas

Have an idea, suggestion, or something that doesn’t work as expected in InterSystems products or services? Share it here on the InterSystems Ideas Portal.

The Ideas Portal is where community members can propose improvements, report bugs, and help influence the product roadmap across InterSystems products and the overall developer experience. 22% of submitted ideas are implemented by InterSystems or members of the Developer Community.

💡 Ideas and bugs are both welcome, no matter how big or small. You can submit feature requests, usability improvements, workflow suggestions, and bug reports. Whether you’re an experienced expert or just getting started, your fresh perspective is valuable.

🛠️ About bugs and fixes. If you have access to InterSystems WRC, please submit bugs there for immediate action. Bug reports submitted through the Ideas Portal are reviewed and tracked, but do not guarantee immediate resolution.

Start by sharing what could be better - the community and our teams will help take it from there.

Status Future consideration
Created by Ashok Kumar T
Created on Jun 26, 2025

Streaming JSON Parsing Support

1️⃣ Description of the idea

Introduce new methods that allow streaming JSON parsing rather than reading the entire JSON into memory first. This approach would process JSON objects or arrays incrementally, converting them to DAO (Data Access Object) instances one at a time. The current implementation methods—%FromJSON(jsonStr), %FromJSON(stream), and %FromJSONFile(filename)—load the entire JSON content into memory before converting it to a DAO object. Consider adding additional methods to support streaming JSON parsing for handling large JSON datasets more efficiently.

2️⃣ Who is the target audience?

Developers working with large JSON datasets and read, parse and store JOSN into the database.

3️⃣ What problem does it solve?

Current methods (%FromJSON, %FromJSONFile) load the entire JSON content into memory before parsing. This approach is time consuming for large JSON files and Increases latency due to full buffering before processing

Streaming parsing solves these issues by allowing early processing of data before full ingestion and supporting real-time or bulk JSON processing.

4️⃣ How does this impact the efficiency, stability, reliability, etc., of the product?

Enables processing of arbitrarily large JSON files or payloads efficiently and parse and handle large JSON easily

5️⃣ Provide a specific use case or scenario that illustrates how this idea could be used in practice

Importing millions of patient records from a large JSON file (e.g., 10GB) exported from an external system typically results in long delays before processing begins. By implementing JSON streaming, processing can start immediately, allowing the system to efficiently handle massive datasets with minimal resource overhead.

  • ADMIN RESPONSE
    Aug 27, 2025

    Thank you for submitting the idea. The status has been changed to "Future consideration".

    Stay tuned!