Skip to content

punit-suman/json-data-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

json-data-search

Search through the values in the json. Get stringified values of the json.

Usage

const { AllValuesToString } = require('json-data-search');

let result = AllValuesToString(myJsonData);

This will return an array of strings. Each string corresponds to the stringified values of the json data. If an array of objects is passed as json data it will return an array of stringified values of each object.

const { SearchValueInJSON } = require('json-data-search');

let result = SearchValueInJSON(myJsonData, searchText);

This will return an array of objects in which the given value is found. searchText can be number, string, array, boolean.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •