- SEE ALSO
NOLookup::BrregDifi::Entry - Map a Brreg json data structure element to NOLookup::BrregDifi::Entry data objects.
Map the json data to data objects.
Return a reference to an array of NOLookup::BrregDifi::Entry objects.
The methods provided by this module.
Set if an error has occured. On errors, the lookup terminates.
Set if a warning has occured. On warnings, the lookup continues.
Further description of an error/warning situation.
If the returned JSON structure contains an unsupported data element, the lookup will be performed, but a warning may be returned and and with a status saying:
'Warning: JSON data key entry not expected: xxxx'
where 'xxxx' is the unexpected key. If this happens, the module should be updated with a new method to support the element 'xxx'.
Map the JSON data structure from Brreg to NOLookup::BrregDifi::Entry data objects.
Returns a ref. to an array of NOLookup::BrregDifi::Entry data objects.
The number of the current page.
The number of the next page, if any.
The number of the previous page, if not on first page.
The total number of pages matching the search.
The number of data entries in this page.
The number of total data entries in all pages matching the search.
Data elements are available through acessors in the NOLookup::BrregDifi::Entry object. This is the possible JSON data methods, which are the accessor methods that can be used to find the returned data elements.
The accessor methods are listed in the @json_methods array
For now, support questions should be sent to:
Please also see the SUPPORT file in the distribution.
Trond Haugen, <(nospam)info(at)norid.no>
Copyright (c) 2017 Trond Haugen <(nospam)info(at)norid.no>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.