"use client"; import { useState } from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "../ui/card"; import { Button } from "../ui/button"; export function JsonCard({ obj }: { obj: any }) { const [shown, setShown] = useState(false); return ( Document Raw JSON representation {shown ? (
            {JSON.stringify(obj, null, 2)}
          
) : ( )}
); }