{"uid":"cap_F6fexd-OdtLChVSEMHM2g","slug":"kihustle-json-null-coalescer-4e25df34","name":"KiHustle JSON Null Coalescer","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/bot-bazaar/api/v1/json-null-coalescer","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"payload":{"type":"object"},"defaults":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jFNl2G-xg3zHIj9ALzUbB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Merges a JSON payload object with a defaults object, replacing null or missing values with corresponding defaults","exampleAgentPrompt":"Take this payload — {\"name\": null, \"age\": 30, \"country\": null} — and fill in any null values using these defaults: {\"name\": \"Anonymous\", \"country\": \"Germany\", \"role\": \"user\"}.","exampleUseCases":[{"title":"Backfill incomplete API response data","prompt":"I have an API response where some fields came back as null — can you fill them in with my standard defaults? Payload is {\"user\": null, \"tier\": \"pro\", \"region\": null} and defaults are {\"user\": \"guest\", \"region\": \"EU\"}."},{"title":"Normalize form submission before storage","prompt":"Before I save this form submission, fill any null or missing fields with our company defaults. The payload is {\"email\": null, \"language\": null, \"subscribed\": true} and the defaults should be {\"email\": \"noreply@example.com\", \"language\": \"de\"}."},{"title":"Merge partial config with fallback settings","prompt":"I have a partial user config {\"theme\": null, \"notifications\": null, \"timezone\": \"Europe/Berlin\"} and I want to coalesce it with the fallback config {\"theme\": \"dark\", \"notifications\": true, \"timezone\": \"UTC\"} so nulls get replaced."}],"resultDescription":"Returns a merged JSON object where every null or missing field in the payload has been replaced by the corresponding value from the defaults object; fields with non-null values in the payload are preserved as-is. The response includes a 'result' field with the coalesced object and a 'status' field confirming success.","failureModes":["Malformed or non-object payload returns an error response","Malformed or non-object defaults object returns an error response","Deeply nested null handling may not be supported — only top-level key coalescing is guaranteed","Empty payload with empty defaults returns an empty result object","Network timeout or server error returns a non-200 status"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, paid-per-call utility to merge two flat or shallow JSON objects by replacing nulls with defaults, without standing up custom logic. It is well-suited for pipelines where a quick normalization step is needed before passing data downstream, especially in low-code or agent-based automation workflows where inline computation is inconvenient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:03:05.918Z","isFirstParty":false}