New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not load json objects with escaped characters #7
Comments
Confirmed. Escaping escapes doesn't work for me though... just getting empty []. |
For me some json are loaded and some aren't. Still trying to figure out a pattern... Seem that there's any sort of validation with weird rules... |
Hello everyone. Please if you come across a non loading json fixture, please post it here as @adamweeks has already done. The problem should be the escaping as pointed out. Let's see where that leads us |
This may be an issue with using
Then it outputs:
The
Of course, that is not valid JSON, so we get an explosion. So, unless we can get |
@everyone please install version 0.2.5 and follow updated instructions regarding the setup of |
Awesome! Thanks @billtrik! |
Currently, on version 0.2.3, when loading a json fixture that contains an escaped character, it will not load the fixture and returns an empty array.
For example, loading
myFixtureBroken.json
:returns Array[0].
This can be worked around by escaping the escapes though:
It will load the object fine.
The text was updated successfully, but these errors were encountered: