Exception: JQ::CompileError

Inherits:
Error
  • Object
show all
Defined in:
lib/jq.rb,
ext/jq/jq_ext.c

Overview

Raised when a jq filter expression fails to compile.

This typically indicates a syntax error in the filter expression:

JQ.filter('{}', '. @@@ .')
# raises JQ::CompileError: Syntax error in jq filter