Sha256: c183b17ca2416ee606eddde10031f176f1c200bb069fe0a03f66561ca083424b
Contents?: true
Size: 167 Bytes
Versions: 2
Compression:
Stored size: 167 Bytes
Contents
# frozen_string_literal: true require 'json' # Converts a variable into its JSON representation module JsonFilter def json(object) JSON.dump(object) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
frise-0.6.1 | lib/liquid/json_filter.rb |
frise-0.6.0 | lib/liquid/json_filter.rb |