Data Parsing Guide
Create robust data parsing solutions with this AI prompt, ensuring data integrity amidst chaotic real-world inputs.
What this prompt does
- Provides a comprehensive framework for creating robust data parsing code that anticipates and handles messy real-world data inputs.
- Guides in implementing defensive programming techniques to ensure data integrity and graceful failure handling.
- Ensures the parsing code includes detailed logging, error handling, and documentation for maintainability and debugging.
How to use this prompt
- Inside #INFORMATION ABOUT ME section, fill in the [INSERT DATA FORMAT], [DESCRIBE EXPECTED STRUCTURE], [LIST REQUIRED FIELDS], [LIST OPTIONAL FIELDS], and [DESCRIBE STRATEGY] placeholders with specific details about your data source and handling strategy.
- Example: "My data source format is JSON. My expected data structure includes user profiles with required fields like 'id', 'name', and optional fields like 'email'. My malformed data handling strategy involves logging errors and using default values for missing fields."
Premium prompt — included in the Complete AI Bundle. Part of the Coding prompts collection in the God of Prompt library.