kinbiko / jsonassert

A Go test assertion library for verifying that two representations of JSON are semantically equal
MIT License
125 stars 16 forks source link

Feature Request - JsonSchema matcher #22

Open tyro-jason opened 4 years ago

tyro-jason commented 4 years ago

It would be nice if you could slurp a json schema spec in and just match against that...

kinbiko commented 4 years ago

Thanks for the suggestion @tyro-jason. It's not something I've had a need for myself, but I think it would be a good fit for this project. I'm not sure I'd have time to try and implement this anytime soon myself I'm afraid. Would you be interested in contributing this feature?

If so, could you write up a quick design in a comment to this issue?

tyro-jason commented 4 years ago

Hi there,

I'll have a think... I actually implemented a diff command for go-swagger which involved difing two json schemas... Might be able to reuse some code... Oil have a look anyway....

Cheers

Jason

Get Outlook for Androidhttps://aka.ms/ghei36


From: Roger Guldbrandsen notifications@github.com Sent: Tuesday, May 5, 2020 10:33:39 PM To: kinbiko/jsonassert jsonassert@noreply.github.com Cc: Jason Wraxall jwraxall@tyro.com; Mention mention@noreply.github.com Subject: Re: [kinbiko/jsonassert] Feature Request - JsonSchema matcher (#22)

Thanks for the suggestion @tyro-jasonhttps://github.com/tyro-jason. It's not something I've had a need for myself, but I think it would be a good fit for this project. I'm not sure I'd have time to try and implement this anytime soon myself I'm afraid. Would you be interested in contributing this feature?

If so, could you write up a quick design in a comment to this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/kinbiko/jsonassert/issues/22#issuecomment-624027956, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKXHNM4CMP2CB7A4CTHVGB3RQABSHANCNFSM4MZI7AUA.

Disclaimer Statement: Tyro Payments Limited ACN 103 575 042 AFSL 471951 is the issuer of its own financial products. We do not take into account your personal circumstances. Before deciding on any products please consider if they are suitable for you. You can contact us on 02 8907 1700 or at www.tyro.comhttp://tyro.com. If you have a complaint, please access our dispute resolution process on the "Contacthttp://tyro.com/contact/feedback/" page of our website. The information contained in this email is confidential. If you have received this email in error, please delete it and let us know immediately. If you no longer wish to receive commercial electronic messages from us, please e-mail unsubscribe@tyro.commailto:unsubscribe@tyro.com?subject=UNSUBSCRIBE using UNSUBSCRIBE in the subject line. Security Warning: Tyro will not contact you asking to disclose your password or PIN. Tyro will never ask you to login to any online services via email. If you receive a suspicious email or phone call purporting to be from Tyro, please call us on 1300 966 639. We review our security regularly, however, no warranty is provided that any email and/or attachments are free from viruses or other defects and no liability will be accepted for any loss, damage or other consequences that may arise from opening or using any such email and/or attachments.