Appearance
Rule.io SDK / rcml/src / assertJsonSemantics
Function: assertJsonSemantics()
assertJsonSemantics(
json):void
Defined in: rcml/src/email/validate-rcml-json.ts:234
Throwing wrapper around validateJsonSemantics.
Throws only on error-severity issues — warnings are silently ignored. Useful in pipelines where warnings are acceptable but structural errors must be hard-rejected.
Parameters
json
A structurally valid RCML document.
Returns
void
Throws
When the document contains any error-severity semantic issues.