Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] stringify (or similar keyword) after JSON definitions #107

Open
Nico314159 opened this issue Jul 14, 2024 · 0 comments
Open
Assignees
Labels
Type: Feature request New feature or request

Comments

@Nico314159
Copy link
Contributor

Description

The following syntax will be used to convert specific paths inside a JSON definition from nested objects to string form. The purpose of this is to have an easy and effective way of breaking SNBT over mutliple lines that doesn't insert \n and \t into the output file.

new json_file_type(name) {
        path1: {...},
        path2: {...},
        ...
} stringify (path1, path2, ...);

Discord link over previous discussion

@Nico314159 Nico314159 added the Type: Feature request New feature or request label Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants