In Rule.parser.parse, it says what would happen if you set Rule.type to json. What if Rule.type wasn't json? If this is only meant to be used when the type is json, wouldn't it make sense to assume the type is json by default? As described, this feature seems to only work with type json anyways. If you can specify anything else and not just json, would you mind to give examples?
In Rule.parser.parse, it says what would happen if you set
Rule.typetojson. What ifRule.typewasn'tjson? If this is only meant to be used when the type isjson, wouldn't it make sense to assume the type isjsonby default? As described, this feature seems to only work with typejsonanyways. If you can specify anything else and not justjson, would you mind to give examples?