Skip to content

Results for “json”

8 prompts

Write a script in [language] that generates [number] realistic fake records for [entity, e.g. customers with orders] matching this schema: [schema]. Use a faker library, keep relationships consistent, and output as [SQL/JSON/CSV].

ChatGPT
Coding & Development

Generate realistic test data

Creates realistic fake data for development and tests.

0

Write a system prompt and code in [language] that makes an LLM extract [fields] from [input type] as valid JSON matching this schema: [schema]. Include validation, a retry if parsing fails, and handling for missing data.

ChatGPT
Coding & Development

Prompt for structured JSON output from an LLM

Reliably gets valid JSON from an AI model in your app.

0

Write a Node.js script that [task, e.g. reads a CSV and calls an API for each row]. Use async/await, limit concurrency to [n], retry failed requests with backoff, log progress, and handle errors without crashing. Include package.json dependencies.

ChatGPT
Coding & Development

Node.js script with async/await

A clean Node.js script with proper async error handling.

0

Generate TypeScript types from this JSON. JSON sample(s): ```json [paste] ``` Create interfaces with sensible names, mark optional and nullable fields, use union types for known string values, and also create a Zod schema for runtime validation. Note any fields where the sample is ambiguous.

ChatGPT
Coding & Development

TypeScript types from JSON

Generate accurate TypeScript interfaces and validation schemas from sample JSON.

0

Write a [Python / Node.js] script to transform data. Input format and sample: [paste] Desired output format and sample: [paste] Rules: [renames, filters, calculations, date formats] The script should read from a file, handle missing or malformed values, log problems, write the output file, and be easy to rerun. Includ…

ChatGPT
Coding & Development

Data transformation script

Convert, clean and reshape data between JSON, CSV and other formats with a reusable script.

0

Act as a technical SEO specialist. Page type: [Article, Product, LocalBusiness, FAQPage, Event, Recipe, HowTo, Organization] Page details: [paste all relevant information] Generate valid JSON-LD schema, explain each property, mark required vs recommended fields, and tell me how to test it with a rich results testing t…

ChatGPT
Marketing & SEO

Schema markup generator

Generate valid JSON-LD structured data for articles, products, FAQs, events, local businesses and more.

0

Act as a Python developer. Website: [URL or type of site] Data to extract: [fields] Pages: [single page / pagination / list of URLs] Output: [CSV / JSON] Write a script using requests + BeautifulSoup (or Playwright if the page needs JavaScript) that: - Respects robots.txt and adds a delay between requests - Sets a cle…

ChatGPT
Coding & Development

Python web scraper

Build a polite, robust web scraper that extracts structured data and saves it to CSV or JSON.

0

Act as a senior backend developer. Framework: [e.g. Express, FastAPI, Laravel, Django REST, Spring Boot] Database/ORM: [e.g. PostgreSQL + Prisma] Endpoint: [METHOD /path] What it does: [description] Request body/params: [fields and rules] Auth: [public / logged-in user / admin] Write: 1. The route/controller code 2. I…

ChatGPT
Coding & Development

Build a REST API endpoint with validation

Generate a production-ready API endpoint with input validation, error handling, status codes and tests in your framework.

0