mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
56 lines
2.3 KiB
JSON
56 lines
2.3 KiB
JSON
{
|
|
"manifests": {
|
|
"jms/serializer-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"JMS\\SerializerBundle\\JMSSerializerBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/jms_serializer.yaml": {
|
|
"contents": [
|
|
"jms_serializer:",
|
|
" visitors:",
|
|
" xml_serialization:",
|
|
" format_output: '%kernel.debug%'",
|
|
"# metadata:",
|
|
"# auto_detection: false",
|
|
"# directories:",
|
|
"# any-name:",
|
|
"# namespace_prefix: \"My\\\\FooBundle\"",
|
|
"# path: \"@MyFooBundle/Resources/config/serializer\"",
|
|
"# another-name:",
|
|
"# namespace_prefix: \"My\\\\BarBundle\"",
|
|
"# path: \"@MyBarBundle/Resources/config/serializer\"",
|
|
"",
|
|
"when@prod:",
|
|
" jms_serializer:",
|
|
" visitors:",
|
|
" json_serialization:",
|
|
" options:",
|
|
" - JSON_UNESCAPED_SLASHES",
|
|
" - JSON_PRESERVE_ZERO_FRACTION",
|
|
"",
|
|
"when@dev:",
|
|
" jms_serializer:",
|
|
" visitors:",
|
|
" json_serialization:",
|
|
" options:",
|
|
" - JSON_PRETTY_PRINT",
|
|
" - JSON_UNESCAPED_SLASHES",
|
|
" - JSON_PRESERVE_ZERO_FRACTION",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "cc04e10cf7171525b50c18b36004edf64cb478be"
|
|
}
|
|
}
|
|
}
|