Pretty print JSON Custom Fileds in edit view #6373

Closed
opened 2025-12-29 19:39:58 +01:00 by adam · 1 comment
Owner

Originally created by @JohannesKreuzer on GitHub (Apr 18, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.2.0

Feature type

Change to existing functionality

Proposed functionality

For JSON custom fields currently data is displayed as a plain string in the edit view. To ease reading & editing the json data in the custom field, it would be good to pretty print the json data in the edit view. This will be then inline with the behaviour of the config context json field.

Use case

Better editing of json customfields, same feeling as when editing config contexts.

Database changes

No response

External dependencies

No response

Originally created by @JohannesKreuzer on GitHub (Apr 18, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.2.0 ### Feature type Change to existing functionality ### Proposed functionality For JSON custom fields currently data is displayed as a plain string in the edit view. To ease reading & editing the json data in the custom field, it would be good to pretty print the json data in the edit view. This will be then inline with the behaviour of the config context json field. ### Use case Better editing of json customfields, same feeling as when editing config contexts. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: feature labels 2025-12-29 19:39:58 +01:00
adam closed this issue 2025-12-29 19:39:58 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 19, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Jun 19, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6373