Levente Uzonyi uploaded a new version of JSON to project The Treated Inbox: http://source.squeak.org/treated/JSON-ul.56.mcz
==================== Summary ====================
Name: JSON-ul.56 Author: ul Time: 6 December 2020, 6:47:32.838453 pm UUID: 6c5f17b1-830e-45ba-90b0-3cd6d40cd35e Ancestors: JSON-ul.55
Implemented JsonObject >> #respondsTo: which returns true for all setters and getters of already defined fields. The code works the same way #doesNotUnderstand: does.
=============== Diff against JSON-ul.55 ===============
Item was added: + ----- Method: JsonObject>>respondsTo: (in category 'error handling') ----- + respondsTo: aSymbol + + | precedence | + (super respondsTo: aSymbol) ifTrue: [ ^true ]. + (precedence := aSymbol precedence) = 1 ifTrue: [ + ^self includesKey: aSymbol ]. + (precedence = 3 and: [ (aSymbol indexOf: $:) = aSymbol size ]) ifTrue: [ + ^self includesKey: aSymbol allButLast ]. + ^false!
packages@lists.squeakfoundation.org