- type JFilter = Json -> Jsons
- isStr :: JFilter
- isStrBy :: (String -> Bool) -> JFilter
- isNum :: JFilter
- isNumBy :: Fractional a => (a -> Bool) -> JFilter
- isBool :: JFilter
- isTrue :: JFilter
- isFalse :: JFilter
- isNull :: JFilter
- isAtomic :: JFilter
- isObj :: JFilter
- getFromObj :: JFilter
- getFromKey :: String -> JFilter
- getFromKeys :: [String] -> JFilter
- getFromKeyBy :: (String -> Bool) -> JFilter
- isArr :: JFilter
- getFromArr :: JFilter
- getFromIndex :: Int -> JFilter
- getFromIndexes :: [Int] -> JFilter
- getFromIndexBy :: (Int -> Bool) -> JFilter
- getChildern :: JFilter
- (>>>) :: JFilter -> JFilter -> JFilter
- (<+>) :: JFilter -> JFilter -> JFilter
- orElse :: JFilter -> JFilter -> JFilter
- when :: JFilter -> JFilter -> JFilter
- guards :: JFilter -> JFilter -> JFilter
- deep :: JFilter -> JFilter
- deepObj :: JFilter -> JFilter
- deepArr :: JFilter -> JFilter
Data Types
Filtering primitive types
Filtering JSON objects
Get all elements from object.
getFromKey :: String -> JFilterSource
Get elements from object with key.
getFromKeys :: [String] -> JFilterSource
Get elements from object with keys.
getFromKeyBy :: (String -> Bool) -> JFilterSource
Get elements from object with key by.
Filtering JSON arrays
Get all elements from array.
getFromIndex :: Int -> JFilterSource
Get element from array with index.
getFromIndexes :: [Int] -> JFilterSource
Get elements from array with index by.
DEPRECATED use: getFromIndexBy
getFromIndexBy :: (Int -> Bool) -> JFilterSource
Get elements from array with indexes.
Filtering JSON arrays and objects
Get all elements from object and array.