Skip to content

Latest JSON parser updates have caused bugs #2358

@tonis2

Description

@tonis2

My GLTF parser doesent work anymore, on C3 0.7.4

Parsing the duck gltf, seen here , throws this error ERROR: 'No method 'available' could be found on target' at json.c3:36

Failing code example

import std::io;
import std::collections::object;
import std::encoding::json;

fn void main()
{
  File? file = file::open("test/duck.gltf", "r");
  defer file.close()!!;

  Object*? gltfJson = json::parse(mem, &file);
  defer gltfJson!!.free();
}

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingFixed needs testingNeeds verification / testing that it now worksStdlibStandard library issue

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions