You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2015-02-21 10:35:11] request.CRITICAL: Uncaught PHP Exception JMS\Parser\SyntaxErrorException: "Expected end of input, but got ":" of type T_NONE at position 22 (0-based)." at D:\Development\Projects\SymfonyExercise\vendor\jms\parser-lib\src\JMS\Parser\AbstractParser.php line 118 {"exception":"[object] (JMS\\Parser\\SyntaxErrorException(code: 0): Expected end of input, but got \":\" of type T_NONE at position 22 (0-based). at D:\\Development\\Projects\\SymfonyExercise\\vendor\\jms\\parser-lib\\src\\JMS\\Parser\\AbstractParser.php:118)"} []
The text was updated successfully, but these errors were encountered:
The problem was not in JSON but in class name shortcut. Full namespace without forward slash should be used: Apheleia\ExerciseBundle\Entity\TodoList instead of ApheleiaExerciseBundle:TodoList
I't trying to deserialize JSON string
{"name":"Fabien"}
withbut getting an error:
The text was updated successfully, but these errors were encountered: