Add JSON type for custom fields
See original GitHub issueOverview
Users often need to support more advanced data structures as a custom field. This would add support for a JSON type to this list of available options when creating a CF.
User Story
As Austin a Network Automation Engineer, I want to be able to create custom fields that can store JSON data, so that I am not required to use config contexts. This will allow me to ensure these fields are “required” when adding/editing objects.
Acceptance Criteria
- Allows a CF to be of “JSON” data type
- Validates submitted data is valid JSON
- To view CF data of JSON type, a “View Value” link should be presented to see the full payload. This keeps the UI clean for large JSON values.
- Basic searching (
icontains
) of JSON custom fields in UI and API
Out of Scope
- Is it NOT expected to be able to search into the field value
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Allow JSON Data Type for custom fields - IdeaExchange
We would like to use a JSON field type to store some additional read-only structured data on a record and enforce the structural...
Read more >Advanced field editing using JSON | Cloud automation Cloud
The More options field on automation actions in Jira Cloud allow you to specify a valid JSON object reference and edit issue fields....
Read more >Local JSON - ACF
Local JSON is a new feature added in version 5 which saves field group and field settings as .json files within your theme....
Read more >How to save individual JSON data to a custom field?
I was able to get this to work: // get URL from post_content $url = get_post_field('post_content', $post_id); // fetch JSON data from ...
Read more >Adding fields to the Data fields configuration page - IBM
Developers can add custom summary fields and custom table columns by customizing JSON files. You can add the custom fields to this configuration...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Initially taking on the JSON support (no schema) per #1 above.
Does this also need support in pynautobot as well?