import { testService } from '@sap-cloud-sdk/test-services/v4/test-service' ; const builder = testService ( ) . testEntityApi . entityBuilder ( ) ; builder . fromJson ( { collectionProperty : [ '1' ] } ) ; builder . fromJson ( { collectionProperty : null } ) ; builder . fromJson ( { collectionProperty : [ 1 ] } ) ; builder . fromJson ( { collectionProperty : 1 } ) ;