Skip to content

Commit

Permalink
Is you JSON decode more than once. The second call to JSON decode bre…
Browse files Browse the repository at this point in the history
…aks the first key fix culturekings#5
  • Loading branch information
Barry Carlyon committed Apr 9, 2018
1 parent dd0d2ed commit ec36aff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions json_decode.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,6 @@
{%- assign jd__local_keys = jd__local_keys | append: jd__separator | append: jd__current_namespace | append: '__values' -%}
{%- assign jd__local_values = jd__local_values | append: jd__separator | append: jd__level_values -%}
{%- if jd__error == false -%}
{%- assign jd__global_keys = jd__global_keys | join: jd__separator | append: jd__local_keys | split: jd__separator -%}
{%- assign jd__global_values = jd__global_values | join: jd__separator | append: jd__local_values | split: jd__separator -%}
{%- endif -%}
{%- assign jd__global_keys = jd__global_keys | join: jd__separator | append: jd__separator | append: jd__local_keys | split: jd__separator -%}
{%- assign jd__global_values = jd__global_values | join: jd__separator | append: jd__separator | append: jd__local_values | split: jd__separator -%}
{%- endif -%}

0 comments on commit ec36aff

Please sign in to comment.