Crowbar::Rules::JSONRule
Inherits Crowbar::Rule < Reference < Object
Structure-preserving rule for JSON. Parses the document AST, mutates leaf values (numbers, strings, booleans) or structural bounds (arrays, objects) while guaranteeing valid JSON output.
Instance methods
Applies a structure-preserving transformation to the buffer
description
SourceChecks whether the buffer matches the format handled by this rule
name
Source