Parse_json and string filter in Liquid

Hi,

I was using Parse_json and string filter in liquid and shopify dev showed no error and code works fine but shopify deploy says this

Unknown filter ‘string’ used.
Unknown filter ‘parse_json’ used.

how do I resolve this :-/

I’m unaware of a parse_json filter in Liquid, could you share the docs where you’ve found this?

yea… my bad i used it from a stack overflow article…

but weirdly Shopify dev should have given an error as well… same as what shopify deploy does

Sounds like you may be using the CLI, I’d suggest taking a look at the documentation available on Shopify’s site.

2 Likes