Module: JSONSelect::Ast::TypeSelector

Defined in:
lib/json_select/ast/type_selector.rb

Instance Method Summary collapse

Instance Method Details

#to_astObject

‘object` | `array` | `number` | `string` | `boolean` | `null`



4
5
6
# File 'lib/json_select/ast/type_selector.rb', line 4

def to_ast
  { :f => :instance_of_type, :n => self.text_value }
end