remove dependency on Json
MODIFY
src/BaselineOfPharoLauncher.package/BaselineOfPharoLauncher.class/instance/baseline..st
src/BaselineOfPharoLauncher.package/BaselineOfPharoLauncher.class/instance/baseline..st
@@ -4,11 +4,6 @@ baseline: spec
spec for: #'common' do: [
spec
- project: 'JSON' with: [
- spec
- className: #ConfigurationOfJSON;
- versionString: #'stable';
- repository: 'http://smalltalkhub.com/mc/PharoExtras/JSON/main/' ];
project: 'OSProcess' with: [
spec
className: #ConfigurationOfOSProcess;
@@ -35,7 +30,7 @@ baseline: spec
spec
package: #'ConfigurationOfPharoLauncher';
package: #'PharoLauncher-Core' with: [
- spec requires: #('XMLParser' 'Ston' 'JSON' ). ];
+ spec requires: #('XMLParser' 'Ston'). ];
package: #'PharoLauncher-Download' with: [
spec requires: #(#'PharoLauncher-Core' 'OSProcess' 'ProcessWrapper'). ];
package: #'PharoLauncher-Spec' with: [

MODIFY
src/PharoLauncher-Core.package/PhLDownloadedTemplateGroup.class/instance/dictionary.st
src/PharoLauncher-Core.package/PhLDownloadedTemplateGroup.class/instance/dictionary.st
@@ -4,4 +4,4 @@ dictionary
readStreamDo: [ :aStream |
aStream atEnd
ifTrue: [ Dictionary new ]
- ifFalse: [ Json readFrom: aStream ] ]
\ No newline at end of file
+ ifFalse: [ STONJSON fromStream: aStream ] ]
\ No newline at end of file

MODIFY
src/PharoLauncher-Core.package/PhLDownloadedTemplateGroup.class/instance/saveToFile..st
src/PharoLauncher-Core.package/PhLDownloadedTemplateGroup.class/instance/saveToFile..st
private
saveToFile: aDictionary
- self cacheFile writeStreamDo: [ :aStream | aDictionary jsonWriteOn: aStream ]
\ No newline at end of file
+ self cacheFile writeStreamDo: [ :aStream | STONJSON put: aDictionary onStream: aStream ]
\ No newline at end of file

MODIFY
src/PharoLauncher-Core.package/PhLJenkins2Entity.class/instance/jsonQuery..st
src/PharoLauncher-Core.package/PhLJenkins2Entity.class/instance/jsonQuery..st
@@ -2,5 +2,5 @@ protected
jsonQuery: query
| queryUrl |
queryUrl := self url / 'api' / 'json' ? ('tree' -> query).
- ^ Json
- readFrom: (PhLDownloadManager default downloadToPositionableStream: queryUrl mimeType: ZnMimeType applicationJson)
\ No newline at end of file
+ ^ STONJSON
+ fromStream: (PhLDownloadManager default downloadToPositionableStream: queryUrl mimeType: ZnMimeType applicationJson)
\ No newline at end of file

MODIFY
src/PharoLauncher-Core.package/monticello.meta/categories.st
src/PharoLauncher-Core.package/monticello.meta/categories.st
SystemOrganization addCategory: #'PharoLauncher-Core'!
SystemOrganization addCategory: 'PharoLauncher-Core-Commands'!
SystemOrganization addCategory: 'PharoLauncher-Core-Model'!
-SystemOrganization addCategory: #'PharoLauncher-Core-Settings'!
SystemOrganization addCategory: 'PharoLauncher-Core-Settings'!
+SystemOrganization addCategory: #'PharoLauncher-Core-Settings'!
+gs'!

remove dependency on Json