change default options for json

This commit is contained in:
Asmir Mustafic
2017-10-23 10:10:51 +02:00
parent f4b14fb3a5
commit a87abd8a9e
2 changed files with 10 additions and 1 deletions
@@ -1,4 +1,7 @@
jms_serializer:
visitors:
json:
options: JSON_PRETTY_PRINT
options:
- JSON_PRETTY_PRINT
- JSON_UNESCAPED_SLASHES
- JSON_PRESERVE_ZERO_FRACTION
@@ -0,0 +1,6 @@
jms_serializer:
visitors:
json:
options:
- JSON_UNESCAPED_SLASHES
- JSON_PRESERVE_ZERO_FRACTION