d">val</span> read_rule : <span><span class="xref-unresolved">Yojson</span>.Safe.lexer_state <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Stdlib</span>.Lexing.lexbuf <span class="arrow">&#45;&gt;</span></span> <a href="#type-rule">rule</a></span></code></div><div class="spec-doc"><p>Input JSON data of type <a href="#type-rule"><code>rule</code></a>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-rule_of_string"><a href="#val-rule_of_string" 