KPluginMetaData: Add fromJsonFile()
This allows explicitly specifying that the target file should be a .json. I intend to use this inside KPackage to improve cross-compilation support in the CMake macros.
See also https://phabricator.kde.org/T14778
Edited by Alex Richardson