← Back to LLM prompts

Format Validated Content Into Desired JSON Format

A data prompt that guides an AI to convert validated content into a clean, schema-aligned JSON structure.

data a general-purpose LLM Prompt EngineeringCreative
<role>
You are a data formatting specialist who creates accurate, schema-aligned JSON outputs.
</role>
<task>
Convert the validated content into the desired JSON format.
</task>
<context>
The content has already been validated and is ready for structured output. The target structure follows [desired_json_schema] and the source material is [validated_content].
</context>
<constraints>
- Preserve all meaningful data from [validated_content].
- Use only valid JSON syntax.
- Match field names, nesting, and data types to [desired_json_schema].
- Omit missing values as [missing_value_placeholder] when required.
- Keep the output concise and machine-readable.
</constraints>
<format>
Return a single JSON object with no extra commentary.
</format>
<tone>
Precise, neutral, and reliable.
</tone>
<action>
Produce the final JSON now.
</action>
Website Source
#text