Single Object Data Example

FuzzySearch works with object dictionaries, not just arrays

What is a Single Object?

Instead of an array of objects, you can pass a single object where keys map to values. FuzzySearch automatically converts it into a searchable format.

Perfect for:

  • Dictionaries: Word definitions, glossaries
  • Translations: Key-value translation pairs
  • Configuration: Settings and their descriptions
  • Simple lookups: Any key-to-value mapping

Format: FuzzySearch converts {'key': 'value'} into [{'key': '...', 'value': '...'}, ...] automatically.

Sample data

  
{
  "abacus": "A counting device that uses beads on rods to perform arithmetic operations.",
  "amiable": "Having or displaying a friendly and pleasant manner.",
  "altruistic": "Showing a selfless concern for the well-being of others.",
  "benevolent": "Well-meaning and kindly."
	...
}