Skip to content

Conversation

@mrrobot47
Copy link
Member

This pull request updates the JSON output formatting in the php/EE/Formatter.php file to improve readability by using pretty-printed JSON. This affects both the main formatting function and the single field display function.

Improvements to JSON output formatting:

  • Updated the format function to use JSON_PRETTY_PRINT when outputting JSON, making the output easier to read. If JSON_PARTIAL_OUTPUT_ON_ERROR is available, both flags are used together.
  • Updated the show_single_field function to use JSON_PRETTY_PRINT for single field JSON output.

@mrrobot47 mrrobot47 merged commit 5231900 into EasyEngine:develop Oct 1, 2025
2 checks passed
@mrrobot47 mrrobot47 deleted the improve/json-formatter branch October 1, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant