This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
This Idea contains 2 requests.
1. Convert a physical file to JSON.
2. Convert JSON to a physical file.
For request 1, there is an existing db2_to_json solution described in this gist.
https://gist.github.com/forstie/d4d6ddd03c859ec2b501b09f76daa5a2
We are considering this as the request contained in this Idea and responding with a "Solution exists" answer.
For request 2, we would like you to submit a second Idea request for the IBM i community to discuss. We are interested to hear your vision of a solution that would interpret JSON data. Would it return character data for most JSON values since JSON doesn't have (for example) datetime data types? How would it deal with JSON objects and JSON arrays?
We believe that to convert JSON to a file with meaningful column data types requires some knowledge of the JSON string. SQL has the JSON_TABLE table function that can be used to do this by defining the result data types. Read about it at this link: https://www.ibm.com/docs/en/i/7.6.0?topic=functions-json-table
Db2 for i development team
IBM Power Systems Development