Skip to content

An implementation of IVariableSource of Spring.Core where you can declare your variables/placeholders in a validatable json-file.

Notifications You must be signed in to change notification settings

queoGmbH/spring-net-json-variable-source

Repository files navigation

spring-net-json-variable-source

As resharper does not get along with the default properties files for spring and because we are used to configure things in json format, we decided to use a json-variable-source for spring.net.

This comes with some very positiv side effects:

  • Validation of the (json)-config
  • Intellisense in Visual Studio when writing the json-file
  • complex configuration objects
  • No more Resharper errors when opening the properties file
  • maybe more ...

This is a sample the json-config-file ...

json-config

... for a spring-configuration with placeholders ...

spring-config

... validated against a specified json-schema ...

json-schema-file

... with intellisense ...

json-schema-file

... and validation for ... ... missing properties ...

json-schema-file

json-schema-file

... for invalid types ...

Validation of type

... and maybe more!

About

An implementation of IVariableSource of Spring.Core where you can declare your variables/placeholders in a validatable json-file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published