mantisbt/mantisbt — pull request #528 by vboctor (2014-10-26 06:48:44+00:00)
Title: Allow retrieving multiple/complex configs

NOTE: This is a preview of the change. If we are in agreement, then will test and add test cases.

Add mc_config_get() to enables clients to do the following - compared to mc_config_get_string():

- Retrieve multiple configs in one call.
- Retrieve complex configs.
- Retrieve configs within context of a target user.
- Retrieve configs within context of a project.

This method returns configs in json. I was opposing serialization, but thinking about it there is no way to do this in a strongly typed way. Json is a good option due to the good support for decoding into native structures/objects in all languages.