Skip to main content

token_count

Function token_count 

Source
pub fn token_count(value: &Value) -> Option<u64>
Expand description

Return a nonnegative JSON integer token count, rejecting booleans and floats.