new Converter()
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
debug |
boolean | |
knownUnparsables |
Array.<string> | list of classes that cannot be parsed |
handlers |
object | object mapping string names of classes to a set of function calls to perform when restoring or post-restoring. (too complicated to explain; read the code) |
Methods
-
run(jss) → {music21.stream.Stream}
-
Run the main decoder
Parameters:
Name Type Description jssstring stream encoded as JSON
- Source:
Returns:
-
streamPostRestore(s) → {music21.stream.Stream}
-
Fixes up some references that cannot be unpacked from jsonpickle.
Parameters:
Name Type Description smusic21.stream.Stream stream after unpacking from jsonpickle
- Source:
Returns: