Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/mod.ts>jsonGet

A framework for Beat Saber map scripting.
Go to Latest
function jsonGet
Re-export
import { jsonGet } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Get a property of an object recursively.

Parameters

obj: Json

Base object.

prop: string

Property on this object to check. Can be multiple objects deep.

optional
init: any

Optional value to initialize the property if it doesn't exist yet.