class JSONFilter::FieldsParser

Defined in:

invidious/helpers/json_filter.cr

Class Method Summary

Class Method Detail

def self.get_bracket_pairs(text : String, recursive = true) : BracketIndex #

[View source]
def self.nest_group_pattern : Regex #

Returns the Regex pattern used to match nest groups


[View source]
def self.parse_fields(fields_text : String, &) : Nil #

[View source]
def self.parse_nest_groups(fields_text : String, &) : Nil #

[View source]
def self.parse_single_nests(fields_text : String, &) : Nil #

[View source]
def self.remove_nest_groups(text : String) : String #

[View source]
def self.unnamed_nest_group_pattern : Regex #

Returns the Regex pattern used to check if there are any empty nest groups


[View source]