JMSSerializerBundle icon indicating copy to clipboard operation
JMSSerializerBundle copied to clipboard

unable to use camelCase instead of snake_case

Open nacimgoura opened this issue 5 years ago • 7 comments

Hello, it's unable to use camelCase instead of snake_case.

jms_serializer:
    property_naming:
        id: "jms_serializer.identical_property_naming_strategy"

I followed the documentation but my content is still converted to snake_case.

nacimgoura avatar Mar 20 '19 13:03 nacimgoura

Have you cleared the cache? I think that this is necessary should be stated in the documentation.

dontub avatar Mar 22 '19 11:03 dontub

Have you cleared the cache? I think that this is necessary should be stated in the documentation.

Yes, i did php bin/console cache:clear and same problem

nacimgoura avatar Mar 22 '19 12:03 nacimgoura

Which version of the bundle are you using?

goetas avatar Mar 22 '19 12:03 goetas

Same problem here... version 3.2.0

progmancod avatar Mar 26 '19 17:03 progmancod

@progmancod can you share more detail about your case and how to reproduce it?

goetas avatar Mar 26 '19 21:03 goetas

Same problem on version 3.2.0. My configuration is the same as @nacimgoura

EDIT: it started to work after I manually deleted cache folder. Using cache:clear command wasn't enough

dawidgora-old-account avatar Apr 16 '19 14:04 dawidgora-old-account

I want to convert to lowerCamelCase but it convert to UpperCamelCase on version 4.0.2!!!!!

saddit avatar Jan 03 '22 09:01 saddit