Migrating from Geode v3.x to v4.0

Changes to Result

Changes to the Geode Settings API

Changes to geode::Layout

Changes to matjson

Link to the full docs

Changes to JsonChecker / JsonExpectedValue

auto checker = JsonChecker(json);
auto root = checker.root("[file.json]").obj();

// ... code

if (checker.isError()) {
    return Err(checker.getError());
}

is now

auto root = checkJson(json, "[file.json]")

// ... code

GEODE_UNWRAP(root.ok());