Nested Dictionaries and Lists
July 3, 2024
We are excited to announce an important new feature for JSON Scout that will take your text extraction and parsing capabilities to the next level. Our AI-powered tool now supports outputs with nested dictionaries and lists, allowing for even more precise and structured data extraction.
Why Nested Dictionaries and Lists?
Nested dictionaries and lists enable you to organize complex data hierarchically. This is particularly useful when dealing with data that naturally falls into sub-categories or multiple related fields. By using nested structures, you can achieve cleaner, more readable, and more useful data outputs.
How Does It Work?
With this new feature, you simply need to provide a more specific schema for your desired output fields. JSON Scout will take care of the rest, ensuring your data is extracted and organized exactly as you need it.
Example: Extracting Address Information
Let's walk through an example to see this feature in action. Suppose you need to extract address information from a block of text. Your desired output might include fields like street, apartment unit, city, state, and zip code, all neatly organized within nested dictionaries.
Here’s how you can define your schema and what the output will look like:
{
"address": {
"street": "string",
"apt_unit": "string",
"city": "string",
"state": "string",
"zip": "string"
}
}
John Doe lives at 123 Main St, Apt 4B, Springfield, IL, 62704.
{
"address": {
"street": "123 Main St",
"apt_unit": "Apt 4B",
"city": "Springfield",
"state": "IL",
"zip": "62704"
}
}
With JSON Scout, this level of precision and organization is now at your fingertips. Whether you’re handling addresses, product information, customer details, or any other complex data, our tool simplifies the process, delivering clean and structured outputs effortlessly.
Getting Started
To start using this new feature, simply update your schema definitions to include nested structures where needed. Our AI will parse your input data accordingly, providing you with the precise and organized outputs you require.
We can’t wait to see how you leverage this new capability to enhance your data processing workflows. As always, if you have any questions or need assistance, our support team is here to help.
Happy parsing!
Contact Us