/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: d3718666f4c8
 */
import * as z from "zod/v4";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const JSONPayloadResponse$inboundSchema = z.object({
    type: z.literal("json").default("json"),
    value: z.any(),
});
export function jsonPayloadResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => JSONPayloadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'JSONPayloadResponse' from JSON`);
}
//# sourceMappingURL=jsonpayloadresponse.js.map