Skip to content

Restore API compatibility for Settings.fillFromJson #674

@Danielku15

Description

@Danielku15

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The Settings class has no fillFromJson method anymore after the rework of the JSON serialization system in 1.2.0. This method was part of the official public API and also documented here: https://alphatab.net/docs/reference/settings to be used

Expected Behavior

The Settings class should have the fillFromJson method again for backwards compatibility on the public facing API.

Steps To Reproduce

  1. new alphaTab.Settings().fillFromJson({ })

Link to jsFiddle, CodePen, Project

No response

Found in Version

1.2

Platform

Web

Environment

- **OS**: Windows 11
- **Browser**: Chrome 95

Anything else?

No response

Metadata

Metadata

Assignees

Labels

platform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions