Skip to content
Astra
ProductDocumentationDownloadPricingCommunity
Sign inGet Astra

Explore Astra

Explore Astra

HomeProductPricingDocumentationDownloadRelease notesSystem status
Sign inDiscord
Roblox
IntroductionQuick start
Keys & licensingYour workspaceTroubleshooting
API reference
Closures
Debug
Environment
Metatables
Scheduler
Instances
Cache
Scripts
Signals
Filesystem
Input
Console
Cryptography
JSON
json.arrayjson.decodejson.encodejson.isnull
Regex
System
Scene files
Drawing
UI library
Renderer
Requests
Network
API referenceJSON

json.isnull

Checks for JSON null.

Syntax

Signature
json.isnull(Value: any) -> boolean

Aliases

  • json.isNull

Parameters

ParameterTypeDescription
ValueanyValue to compare with json.null.

Returns

TypeDescription
booleanTrue only for the json.null sentinel.

Example

Luau
assert(json.isnull(json.decode("null")))

Related functions

json.encodejson.decodejson.array
Previousjson.encodeJSONNextRegexAPI reference

On this page

SyntaxAliasesParametersReturnsExampleRelated functions
Astra

A complete Luau workspace.
Your editor, scripts, and accounts in one place.

Get Astra

WindowsmacOSFree keyPricingRedeemDashboard

Product

EditorScript HubAccountsFeaturesComparison

Community

DiscordSystem statusSupport

Learn

DocumentationRelease notes

Developers

API referenceLuau LSPBenchmarks

Legal

TermsPrivacyCookiesRefund policy
System statusSupportTermsPrivacyCookies

© 2026 Astra. All rights reserved.